IsSetAsDefault Method (Int32) (SmiRequestExecutor Class)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines if the DEFAULT flag is set for a parameter. Returns true if the specified column or parameter is set to the default value, false otherwise. The assembly that contains this class has a friend relationship with SQLAccess.dll.  It is intended for use by SQL Server.  For other databases, use the hosting mechanism provided by that database.

Namespace: Microsoft.SqlServer.Server

Assembly: System.Data (in System.Data.dll)

Function IsSetAsDefault(ByVal ordinal As Integer) As Boolean
internal Boolean IsSetAsDefault (int ordinal);





The zero-based parameter ordinal.

Return Value

Throws an InvalidOperationException. Providers are required to keep track of parameter metadata.

Version Information

.NET Framework

Supported in: 2.0