Share via


AlterCreateEndpointStatementBase.Affinity Property

Gets or sets an optional affinity clause.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property Affinity As EndpointAffinity
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)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.EndpointAffinity
Returns a EndpointAffinity.

.NET Framework Security

See Also

Reference

AlterCreateEndpointStatementBase Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace