Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Technology Samples
 Active Directory Domain Services Re...
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Samples
Active Directory Domain Services Replication State Information Technology Sample

This sample demonstrates how to retrieve the current replication state information. This sample is available only in Visual C#.

NoteNote:

This sample contains fictitious values and cannot be run until modified with settings for an existing domain.

For information about using the samples, see the following topics:

To customize the sample for your settings

  • Modify the following string variables with real values in the Program.cs file:

    • targetName

    • targetUserName

    • targetUserPassword

    • targetUserDomain

    • objectPath

To build the sample

  1. Open a Command Prompt window and navigate to the ReplicationStateInformation\CS directory. For information about required settings and the SDK Command Prompt, see How to: Set Sample Settings.

  2. Type msbuild replicationstateinformation.sln at the command line.

To run the sample

  1. Navigate to the directory that contains the built executable file, using the command prompt.

  2. Type replcationstateinformation and press Enter.

NoteNote:

This sample is a console application. You must launch and run it in a Command Prompt window to view its output.

This sample lists the following information about a domain:

  • Replication cursor information.

  • Replication neighbor information.

  • Replication metadata information.

  • Inbound replication connections.

  • Outbound replication connections.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker