Partilhar via


Propriedade Protocol

Gets the protocol used by the endpoint.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)> _
Public ReadOnly Property Protocol As Protocol
    Get
'Uso
Dim instance As Endpoint
Dim value As Protocol

value = instance.Protocol
[SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)]
public Protocol Protocol { get; }
[SfcObjectAttribute(SfcObjectRelationship::ChildObject, SfcObjectCardinality::One)]
public:
property Protocol^ Protocol {
    Protocol^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)>]
member Protocol : Protocol
function get Protocol () : Protocol

Valor da propriedade

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