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
- name
Tipo: System.String
Cadena que se va a validar
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
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.