共用方式為


DataType.VarChar(Int32) Method

Definition

Creates a DataType of type SqlDataType.VarChar

public static Microsoft.SqlServer.Management.Smo.DataType VarChar (int maxLength);
static member VarChar : int -> Microsoft.SqlServer.Management.Smo.DataType
Public Shared Function VarChar (maxLength As Integer) As DataType

Parameters

maxLength
Int32

Returns

Applies to