名前が有効な SQL 識別子かどうかを返します。
名前空間: Microsoft.SqlServer.TransactSql.ScriptDom
アセンブリ: Microsoft.SqlServer.TransactSql.ScriptDom (Microsoft.SqlServer.TransactSql.ScriptDom.dll)
構文
'宣言
Public Function ValidateIdentifier ( _
name As String _
) As Boolean
'使用
Dim instance As TSqlParser
Dim name As String
Dim returnValue As Boolean
returnValue = instance.ValidateIdentifier(name)
public bool ValidateIdentifier(
string name
)
public:
bool ValidateIdentifier(
String^ name
)
member ValidateIdentifier :
name:string -> bool
public function ValidateIdentifier(
name : String
) : boolean
パラメーター
- name
型: System.String
検証する文字列です。
戻り値
型: System.Boolean
指定された名前が有効な SQL 識別子である場合は true、それ以外の場合は false です。