SqlMetaData.Name Property


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

Gets the name of the column or parameter.

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

public string Name { get; }

Property Value

Type: System.String

The name of the column or parameter as a String.

Exception Condition

The Name specified in the constructor is longer than 128 characters.

.NET Framework
Available since 2.0
Return to top