Compartilhar via


Propriedade do RDL AlterCreateEndpointStatementBase.Affinity

Gets or sets an optional affinity clause.

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

Sintaxe

'Declaração
Public Property Affinity As EndpointAffinity 
    Get 
    Set
'Uso
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)

Valor da propriedade

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.EndpointAffinity
An endpoint affinity.

Consulte também

Referência

AlterCreateEndpointStatementBase Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom