Share via


Méthode IsStringValid

Verifies whether the specified string is valid.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Protected Function IsStringValid ( _
    s As String _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
A Boolean that indicates whether the string is valid.