다음을 통해 공유


AlterCreateEndpointStatementBase.Affinity 속성

Gets or sets an optional affinity clause.

네임스페이스:  Microsoft.SqlServer.TransactSql.ScriptDom
어셈블리:  Microsoft.SqlServer.TransactSql.ScriptDom(Microsoft.SqlServer.TransactSql.ScriptDom.dll)

구문

‘선언
Public Property Affinity As EndpointAffinity 
    Get 
    Set
‘사용 방법
Dim instance As AlterCreateEndpointStatementBase 
Dim value As EndpointAffinity 

value = instance.Affinity

instance.Affinity = value
public EndpointAffinity Affinity { get; set; }
public:
property EndpointAffinity^ Affinity {
    EndpointAffinity^ get ();
    void set (EndpointAffinity^ value);
}
member Affinity : EndpointAffinity with get, set
function get Affinity () : EndpointAffinity 
function set Affinity (value : EndpointAffinity)

속성 값

유형: Microsoft.SqlServer.TransactSql.ScriptDom.EndpointAffinity
An endpoint affinity.

참고 항목

참조

AlterCreateEndpointStatementBase 클래스

Microsoft.SqlServer.TransactSql.ScriptDom 네임스페이스