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
参数
- s
类型:System. . :: . .String
A String value that specifies the string to be validated.
返回值
类型:System. . :: . .Boolean
A Boolean that indicates whether the string is valid.