共用方式為


IsStringValid 方法

Verifies whether the specified string is valid.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Protected Function IsStringValid ( _
    s As String _
) As Boolean
'用途
Dim s As String
Dim returnValue As Boolean

returnValue = Me.IsStringValid(s)
protected bool IsStringValid(
    string s
)
protected:
bool IsStringValid(
    String^ s
)
member IsStringValid : 
        s:string -> bool 
protected function IsStringValid(
    s : String
) : boolean

參數

傳回值

型別:System. . :: . .Boolean