Share via


SystemDataTypeLookupBase.NVarChar Method (Int32)

Gets the ISystemDataType object that represents the nvarchar 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 NVarChar ( _
    maxLength As Integer _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase 
Dim maxLength As Integer 
Dim returnValue As ISystemDataType 

returnValue = instance.NVarChar(maxLength)
public ISystemDataType NVarChar(
    int maxLength
)
public:
ISystemDataType^ NVarChar(
    int maxLength
)
member NVarChar : 
        maxLength:int -> ISystemDataType
public function NVarChar(
    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 nvarchar data type.

See Also

Reference

SystemDataTypeLookupBase Class

NVarChar Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace