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.

示例

实现端点