SqlMetaData.IsUniqueKey Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: