Bagikan melalui


DsmlSoapHttpConnection Konstruktor

Definisi

Menginisialisasi instans baru kelas DsmlSoapHttpConnection.

Overload

DsmlSoapHttpConnection(DsmlDirectoryIdentifier)

Menginisialisasi instans baru kelas DsmlSoapHttpConnection.

DsmlSoapHttpConnection(Uri)

Menginisialisasi instans baru kelas DsmlSoapHttpConnection.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential)

Menginisialisasi instans baru kelas DsmlSoapHttpConnection.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType)

Menginisialisasi instans DsmlSoapHttpConnection baru kelas menggunakan pengidentifikasi, kredensial jaringan, dan jenis autentikasi yang ditentukan.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier)

Menginisialisasi instans baru kelas DsmlSoapHttpConnection.

public:
 DsmlSoapHttpConnection(System::DirectoryServices::Protocols::DsmlDirectoryIdentifier ^ identifier);
public DsmlSoapHttpConnection (System.DirectoryServices.Protocols.DsmlDirectoryIdentifier identifier);
new System.DirectoryServices.Protocols.DsmlSoapHttpConnection : System.DirectoryServices.Protocols.DsmlDirectoryIdentifier -> System.DirectoryServices.Protocols.DsmlSoapHttpConnection
Public Sub New (identifier As DsmlDirectoryIdentifier)

Parameter

identifier
DsmlDirectoryIdentifier

Objek yang menentukan server untuk koneksi.

Pengecualian

identifier null (Nothing dalam Visual Basic).

Berlaku untuk

DsmlSoapHttpConnection(Uri)

Menginisialisasi instans baru kelas DsmlSoapHttpConnection.

public:
 DsmlSoapHttpConnection(Uri ^ uri);
public DsmlSoapHttpConnection (Uri uri);
new System.DirectoryServices.Protocols.DsmlSoapHttpConnection : Uri -> System.DirectoryServices.Protocols.DsmlSoapHttpConnection
Public Sub New (uri As Uri)

Parameter

uri
Uri

Server untuk koneksi.

Pengecualian

uri null (Nothing dalam Visual Basic).

Berlaku untuk

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential)

Menginisialisasi instans baru kelas DsmlSoapHttpConnection.

public:
 DsmlSoapHttpConnection(System::DirectoryServices::Protocols::DsmlDirectoryIdentifier ^ identifier, System::Net::NetworkCredential ^ credential);
public DsmlSoapHttpConnection (System.DirectoryServices.Protocols.DsmlDirectoryIdentifier identifier, System.Net.NetworkCredential credential);
new System.DirectoryServices.Protocols.DsmlSoapHttpConnection : System.DirectoryServices.Protocols.DsmlDirectoryIdentifier * System.Net.NetworkCredential -> System.DirectoryServices.Protocols.DsmlSoapHttpConnection
Public Sub New (identifier As DsmlDirectoryIdentifier, credential As NetworkCredential)

Parameter

identifier
DsmlDirectoryIdentifier

Server untuk koneksi.

credential
NetworkCredential

Kredensial jaringan.

Pengecualian

identifier null (Nothing dalam Visual Basic).

Berlaku untuk

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType)

Menginisialisasi instans DsmlSoapHttpConnection baru kelas menggunakan pengidentifikasi, kredensial jaringan, dan jenis autentikasi yang ditentukan.

public:
 DsmlSoapHttpConnection(System::DirectoryServices::Protocols::DsmlDirectoryIdentifier ^ identifier, System::Net::NetworkCredential ^ credential, System::DirectoryServices::Protocols::AuthType authType);
public DsmlSoapHttpConnection (System.DirectoryServices.Protocols.DsmlDirectoryIdentifier identifier, System.Net.NetworkCredential credential, System.DirectoryServices.Protocols.AuthType authType);
new System.DirectoryServices.Protocols.DsmlSoapHttpConnection : System.DirectoryServices.Protocols.DsmlDirectoryIdentifier * System.Net.NetworkCredential * System.DirectoryServices.Protocols.AuthType -> System.DirectoryServices.Protocols.DsmlSoapHttpConnection
Public Sub New (identifier As DsmlDirectoryIdentifier, credential As NetworkCredential, authType As AuthType)

Parameter

identifier
DsmlDirectoryIdentifier

Server untuk koneksi.

credential
NetworkCredential

Kredensial jaringan.

authType
AuthType

Tipe autentikasi yang digunakan untuk sambungan ini.

Pengecualian

identifier adalah referensi null (Nothing dalam Visual Basic).

authType nilai bukan salah satu nilai yang didukung DSML. DSML hanya mendukung Anonymous, Ntlm, Basic, Negosiasi dan digest.

authType nilai bukan salah satu konstanta yang ditentukan dalam AuthType enumerasi.

Berlaku untuk