ProtocolType 属性

Gets or sets the protocol type used by the endpoint.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ProtocolType As ProtocolType
    Get
    Set
用法
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)

属性值

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

示例

实现端点