Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Verifies whether the specified string is valid.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Protected Function IsStringValid ( _
s As String _
) As Boolean
'Usage
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
Parameters
- s
Type: System.String
A String value that specifies the string to be validated.
Return Value
Type: System.Boolean
A Boolean that indicates whether the string is valid.
Examples
Backing Up and Restoring Databases and Transaction Logs
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace