DataType.UniqueIdentifier DataType.UniqueIdentifier DataType.UniqueIdentifier Property

Definition

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

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

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

Examples

Visual Basic

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

PowerShell

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

Applies to