Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets 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
'Usage
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);
}
public function get Affinity () : EndpointAffinity 
public function set Affinity (value : EndpointAffinity)
Property Value
Type: Microsoft.Data.Schema.ScriptDom.Sql.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.
See Also
Reference
AlterCreateEndpointStatementBase Class