다음을 통해 공유


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.