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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.