Endpoint.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.

示例

实现端点

请参阅

参考

Endpoint 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

端点目录视图 (Transact-SQL)

CREATE ENDPOINT (Transact-SQL)