TSqlParser.ValidateIdentifier 메서드

Returns whether a name is a valid SQL identifier.

네임스페이스:  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

매개 변수

반환 값

유형: System.Boolean
true if the provided name is a valid SQL identifier; otherwise, false.

참고 항목

참조

TSqlParser 클래스

Microsoft.SqlServer.TransactSql.ScriptDom 네임스페이스