ParameterBase.DataType ParameterBase.DataType ParameterBase.DataType Property

Definition

Important

This API is not CLS-compliant.

Gets or sets the data type associated with the parameter.

public:
 virtual property Microsoft::SqlServer::Management::Smo::DataType ^ DataType { Microsoft::SqlServer::Management::Smo::DataType ^ get(); void set(Microsoft::SqlServer::Management::Smo::DataType ^ value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Design)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.UserDefinedDataType), typeof(Microsoft.SqlServer.Management.Smo.UserDefinedDataTypeResolver), "Resolve", Mono.Cecil.CustomAttributeArgument[])]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.UserDefinedTableType), typeof(Microsoft.SqlServer.Management.Smo.UserDefinedTableTypeResolver), "Resolve", Mono.Cecil.CustomAttributeArgument[])]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.UserDefinedType), typeof(Microsoft.SqlServer.Management.Smo.UserDefinedTypeResolver), "Resolve", Mono.Cecil.CustomAttributeArgument[])]
[System.CLSCompliant(false)]
public virtual Microsoft.SqlServer.Management.Smo.DataType DataType { get; set; }
Public Overridable Property DataType As DataType
Property Value

A DataType object value that specifies the data type associated with the parameter.

Examples

Setting Properties

Creating, Altering, and Removing Stored Procedures

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Applies to