ActiveDirectorySiteLinkBridge ActiveDirectorySiteLinkBridge ActiveDirectorySiteLinkBridge ActiveDirectorySiteLinkBridge Constructors

Definition

Overloads

ActiveDirectorySiteLinkBridge(DirectoryContext, String) ActiveDirectorySiteLinkBridge(DirectoryContext, String) ActiveDirectorySiteLinkBridge(DirectoryContext, String) ActiveDirectorySiteLinkBridge(DirectoryContext, String)

Initializes a new instance of the ActiveDirectorySiteLinkBridge class using the specified DirectoryContext object and name.

ActiveDirectorySiteLinkBridge(DirectoryContext, String, ActiveDirectoryTransportType) ActiveDirectorySiteLinkBridge(DirectoryContext, String, ActiveDirectoryTransportType) ActiveDirectorySiteLinkBridge(DirectoryContext, String, ActiveDirectoryTransportType) ActiveDirectorySiteLinkBridge(DirectoryContext, String, ActiveDirectoryTransportType)

Initializes an instance of the ActiveDirectorySiteLinkBridge class using the specified DirectoryContext object, name, and transport type.

ActiveDirectorySiteLinkBridge(DirectoryContext, String) ActiveDirectorySiteLinkBridge(DirectoryContext, String) ActiveDirectorySiteLinkBridge(DirectoryContext, String) ActiveDirectorySiteLinkBridge(DirectoryContext, String)

Initializes a new instance of the ActiveDirectorySiteLinkBridge class using the specified DirectoryContext object and name.

public:
 ActiveDirectorySiteLinkBridge(System::DirectoryServices::ActiveDirectory::DirectoryContext ^ context, System::String ^ bridgeName);
public ActiveDirectorySiteLinkBridge (System.DirectoryServices.ActiveDirectory.DirectoryContext context, string bridgeName);
new System.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkBridge : System.DirectoryServices.ActiveDirectory.DirectoryContext * string -> System.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkBridge
Public Sub New (context As DirectoryContext, bridgeName As String)

Parameters

bridgeName
String String String String

A String that specifies the name for this ActiveDirectorySiteLinkBridge object.

Exceptions

This exception will occur for any of the following reasons:

  • The context parameter does not refer to a valid forest, configuration set, domain controller, or AD LDS server.

  • The bridgeName parameter is an empty string.

The context parameter or the bridgeName parameter is null.

Remarks

The default ActiveDirectoryTransportType type is RPC.

See also

ActiveDirectorySiteLinkBridge(DirectoryContext, String, ActiveDirectoryTransportType) ActiveDirectorySiteLinkBridge(DirectoryContext, String, ActiveDirectoryTransportType) ActiveDirectorySiteLinkBridge(DirectoryContext, String, ActiveDirectoryTransportType) ActiveDirectorySiteLinkBridge(DirectoryContext, String, ActiveDirectoryTransportType)

Initializes an instance of the ActiveDirectorySiteLinkBridge class using the specified DirectoryContext object, name, and transport type.

public:
 ActiveDirectorySiteLinkBridge(System::DirectoryServices::ActiveDirectory::DirectoryContext ^ context, System::String ^ bridgeName, System::DirectoryServices::ActiveDirectory::ActiveDirectoryTransportType transport);
public ActiveDirectorySiteLinkBridge (System.DirectoryServices.ActiveDirectory.DirectoryContext context, string bridgeName, System.DirectoryServices.ActiveDirectory.ActiveDirectoryTransportType transport);
new System.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkBridge : System.DirectoryServices.ActiveDirectory.DirectoryContext * string * System.DirectoryServices.ActiveDirectory.ActiveDirectoryTransportType -> System.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkBridge
Public Sub New (context As DirectoryContext, bridgeName As String, transport As ActiveDirectoryTransportType)

Parameters

bridgeName
String String String String

A String that specifies the name for this ActiveDirectorySiteLinkBridge object.

Exceptions

This exception will occur for any of the following reasons:

  • The context parameter does not refer to a valid forest, configuration set, domain controller, or AD LDS server.

  • The bridgeName parameter is an empty string.

The context parameter or the bridgeName parameter is null.

The transport type specified in the transport parameter is not supported.

See also

Applies to