SystemDataTypeLookupBase.NChar Method (Int32)
Gets the ISystemDataType object that represents the nchar 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 NChar ( _
maxLength As Integer _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase
Dim maxLength As Integer
Dim returnValue As ISystemDataType
returnValue = instance.NChar(maxLength)
public ISystemDataType NChar(
int maxLength
)
public:
ISystemDataType^ NChar(
int maxLength
)
member NChar :
maxLength:int -> ISystemDataType
public function NChar(
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 nchar data type.
See Also
Reference
SystemDataTypeLookupBase Class
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace