Partager via


ProtocolType propriété

Gets or sets the protocol type used by the endpoint.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property ProtocolType As ProtocolType
    Get
    Set
'Utilisation
Dim instance As Endpoint
Dim value As ProtocolType

value = instance.ProtocolType

instance.ProtocolType = value
[SfcPropertyAttribute]
public ProtocolType ProtocolType { get; set; }
[SfcPropertyAttribute]
public:
property ProtocolType ProtocolType {
    ProtocolType get ();
    void set (ProtocolType value);
}
[<SfcPropertyAttribute>]
member ProtocolType : ProtocolType with get, set
function get ProtocolType () : ProtocolType
function set ProtocolType (value : ProtocolType)

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .ProtocolType
A ProtocolType object value that specifies the type of protocol used by the endpoint.