Export (0) Print
Expand All

TSqlParser.ValidateIdentifier Method (String)

 

Applies To: SQL Server 2016 Preview

Returns whether a name is a valid SQL identifier.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

member ValidateIdentifier : 
        name:string -> bool

Parameters

name
Type: System.String

The string to be validated.

Return Value

Type: System.Boolean

true if the provided name is a valid SQL identifier; otherwise, false.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft