Endpoint.Protocol Property
Applies To: SQL Server 2016 Preview
Gets the protocol used by the endpoint.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)]
public Protocol Protocol { get; }
public:
[SfcObjectAttribute(SfcObjectRelationship::ChildObject, SfcObjectCardinality::One)]
property Protocol^ Protocol {
Protocol^ get();
}
[<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)>]
member Protocol : Protocol with get
<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)>
Public ReadOnly Property Protocol As Protocol
Property Value
Type: Microsoft.SqlServer.Management.Smo.Protocol
A Protocol object value that specifies the protocol used by the endpoint.
Examples
Legacy Code Example
See Also
Endpoint Class
Microsoft.SqlServer.Management.Smo Namespace
Endpoints Catalog Views (Transact-SQL)
CREATE ENDPOINT (Transact-SQL)
Return to top