共用方式為


Protocol 屬性

Gets the protocol used by the endpoint.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)> _
Public ReadOnly Property Protocol As Protocol
    Get
'用途
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

屬性值

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

範例

實作端點