DataType.Variant DataType.Variant DataType.Variant Property

Definition

Gets a data type that specifies the Variant definition used in the data type.

public:
 static property Microsoft::SqlServer::Management::Smo::DataType ^ Variant { Microsoft::SqlServer::Management::Smo::DataType ^ get(); };
public static Microsoft.SqlServer.Management.Smo.DataType Variant { get; }
Public Shared ReadOnly Property Variant As DataType
Property Value

A DataType object value that specifies a Variant definition in the data type.

Examples

Visual Basic

Dim dt As DataType  
dt = New DataType(SqlDataType.Variant)  

PowerShell

$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::Variant)  

Applies to