Partager via


Propriété Protocol

Gets the protocol used by the endpoint.

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

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)> _
Public ReadOnly Property Protocol As Protocol
    Get
'Utilisation
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

Valeur de propriété

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