SystemDataTypeLookupBase.Char Method (Int32)
Gets the ISystemDataType object that represents the char data type and has the specified maximum length.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Function Char ( _
maxLength As Integer _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase
Dim maxLength As Integer
Dim returnValue As ISystemDataType
returnValue = instance.Char(maxLength)
public ISystemDataType Char(
int maxLength
)
public:
ISystemDataType^ Char(
int maxLength
)
member Char :
maxLength:int -> ISystemDataType
public function Char(
maxLength : int
) : ISystemDataType
Parameters
- maxLength
Type: System.Int32
The maximum length of the data type.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISystemDataType
The ISystemDataType object that represents the char data type.