Endpoint.EndpointState Property

Gets the state of the endpoint.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property EndpointState As EndpointState 
    Get
'Usage
Dim instance As Endpoint 
Dim value As EndpointState 

value = instance.EndpointState
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public EndpointState EndpointState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property EndpointState EndpointState {
    EndpointState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EndpointState : EndpointState
function get EndpointState () : EndpointState

Property Value

Type: Microsoft.SqlServer.Management.Smo.EndpointState
An EndpointState object value that specifies the state of 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)