IsUniqueKey Property

SqlMetaData.IsUniqueKey Property


Indicates if the column in the table-valued parameter is unique.

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public bool IsUniqueKey { get; }

Property Value

Type: System.Boolean

A Boolean value.

The default is FALSE.

This property can only be set in one of the SqlMetaData constructors.

For more information, see Table-Valued Parameters.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft