Compartir a través de


TSqlParser.ValidateIdentifier (Método)

Devuelve si un nombre es un identificador de SQL válido.

Espacio de nombres:  Microsoft.Data.Schema.ScriptDom.Sql
Ensamblado:  Microsoft.Data.Schema.ScriptDom.Sql (en Microsoft.Data.Schema.ScriptDom.Sql.dll)

Sintaxis

'Declaración
Public Function ValidateIdentifier ( _
    name As String _
) As Boolean
public bool ValidateIdentifier(
    string name
)
public:
bool ValidateIdentifier(
    String^ name
)
member ValidateIdentifier : 
        name:string -> bool 
public function ValidateIdentifier(
    name : String
) : boolean

Parámetros

Valor devuelto

Tipo: System.Boolean
true si el nombre proporcionado es un identificador de SQL válido; de lo contrario, false.

Seguridad de .NET Framework

Vea también

Referencia

TSqlParser Clase

Microsoft.Data.Schema.ScriptDom.Sql (Espacio de nombres)