Endpoint.Protocol Property

Gets the protocol used by the endpoint.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)> _
Public ReadOnly Property Protocol As Protocol 
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Protocol
A Protocol object value that specifies the protocol used by the endpoint.

Examples

Implementing Endpoints

See Also

Reference

Endpoint Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Endpoints Catalog Views (Transact-SQL)

CREATE ENDPOINT (Transact-SQL)