DsmlSoapHttpConnection Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Inicializuje novou instanci DsmlSoapHttpConnection třídy.
Přetížení
| Name | Description |
|---|---|
| DsmlSoapHttpConnection(DsmlDirectoryIdentifier) |
Inicializuje novou instanci DsmlSoapHttpConnection třídy. |
| DsmlSoapHttpConnection(Uri) |
Inicializuje novou instanci DsmlSoapHttpConnection třídy. |
| DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential) |
Inicializuje novou instanci DsmlSoapHttpConnection třídy. |
| DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType) |
Inicializuje novou instanci třídy pomocí zadaného DsmlSoapHttpConnection identifikátoru, síťových přihlašovacích údajů a typu ověřování. |
DsmlSoapHttpConnection(DsmlDirectoryIdentifier)
Inicializuje novou instanci DsmlSoapHttpConnection třídy.
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)
Parametry
- identifier
- DsmlDirectoryIdentifier
Objekt, který určuje server pro připojení.
Výjimky
identifier je null (Nothing v jazyce Visual Basic).
Platí pro
DsmlSoapHttpConnection(Uri)
Inicializuje novou instanci DsmlSoapHttpConnection třídy.
public:
DsmlSoapHttpConnection(Uri ^ uri);
public DsmlSoapHttpConnection(Uri uri);
new System.DirectoryServices.Protocols.DsmlSoapHttpConnection : Uri -> System.DirectoryServices.Protocols.DsmlSoapHttpConnection
Public Sub New (uri As Uri)
Parametry
- uri
- Uri
Server pro připojení.
Výjimky
uri je null (Nothing v jazyce Visual Basic).
Platí pro
DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential)
Inicializuje novou instanci DsmlSoapHttpConnection třídy.
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)
Parametry
- identifier
- DsmlDirectoryIdentifier
Server pro připojení.
- credential
- NetworkCredential
Přihlašovací údaje sítě.
Výjimky
identifier je null (Nothing v jazyce Visual Basic).
Platí pro
DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType)
Inicializuje novou instanci třídy pomocí zadaného DsmlSoapHttpConnection identifikátoru, síťových přihlašovacích údajů a typu ověřování.
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)
Parametry
- identifier
- DsmlDirectoryIdentifier
Server pro připojení.
- credential
- NetworkCredential
Přihlašovací údaje sítě.
- authType
- AuthType
Typ ověřování, který se má pro toto připojení použít.
Výjimky
identifier je odkaz null (Nothing v Visual Basic).
authType hodnota není jednou z podporovaných hodnot DSML. DSML podporuje pouze anonymní, Ntlm, Basic, Negotiate a digest.
authType hodnota není jednou z konstant definovaných ve výčtu AuthType .