Hi Jeffrey,
Yes,
I have an app running on PC X and this app uses service A. Service A is
installed and running on both Server Z and Server Y. Servers Z and Y are not
domain controllers.
The client app running on PC X needs to identify which AD Site the servers Z
and Y is currently in.
I am hoping for a method like string GetADSiteForServer(string serverName)
which can be called from the client app.
The client app will use the result to determine if any of the servers are in
the same site as it self.
If none of the server are in the same AD site as the Client PC the client
app will select a server based on the link cost of a Domain controller in the
AD site which the PC X is member of to a Domain controller which the Server
is member of.
Thanks,
Martin
Post by Jeffrey Tan[MSFT]Hi Martin,
Thanks for your post!
Can you be a little clarify regarding your question? Do you mean that you
want your program to run in PC1 and specify the another PC2 as the client
machine to query its "Active Directory site"?
Thanks
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.