Condividi tramite


Proprietà ProtocolType

Gets or sets the protocol type used by the endpoint.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ProtocolType As ProtocolType
    Get
    Set
'Utilizzo
Dim instance As Endpoint
Dim value As ProtocolType

value = instance.ProtocolType

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

Valore proprietà

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