Share via


AlterCreateEndpointStatementBase.State Property

Gets or sets the endpoint state.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property State As EndpointState 
    Get 
    Set
'Usage
Dim instance As AlterCreateEndpointStatementBase 
Dim value As EndpointState 

value = instance.State

instance.State = value
public EndpointState State { get; set; }
public:
property EndpointState State {
    EndpointState get ();
    void set (EndpointState value);
}
member State : EndpointState with get, set
function get State () : EndpointState 
function set State (value : EndpointState)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.EndpointState
The endpoint state value.

See Also

Reference

AlterCreateEndpointStatementBase Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace