共用方式為


AlterCreateEndpointStatementBase.State 屬性

Gets or sets the endpoint state.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property State As EndpointState 
    Get 
    Set
'用途
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)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.EndpointState
The endpoint state value.

請參閱

參考

AlterCreateEndpointStatementBase 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間