Share via


SqlPotentialElementDescriptor.Affinity Property

Gets the priority assigned to the potential descriptor.

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

Syntax

'Declaration
Public ReadOnly Property Affinity As Integer
public int Affinity { get; }
public:
property int Affinity {
    int get ();
}
member Affinity : int
function get Affinity () : int

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

SqlPotentialElementDescriptor Class

Microsoft.Data.Schema.Sql.SchemaModel Namespace