Méthode SfcSqlPathUtilities.EncodeSqlName

Encodes the specified SQL Server identifier. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Shared Function EncodeSqlName ( _
    name As String _
) As String
'Utilisation
Dim name As String 
Dim returnValue As String 

returnValue = SfcSqlPathUtilities.EncodeSqlName(name)
public static string EncodeSqlName(
    string name
)
public:
static String^ EncodeSqlName(
    String^ name
)
static member EncodeSqlName : 
        name:string -> string
public static function EncodeSqlName(
    name : String
) : String

Paramètres

  • name
    Type : System.String
    The SQL Server identifier to encode.

Valeur de retour

Type : System.String
The SQL Server identifier encoded so that it will work in PowerShell paths.

Voir aussi

Référence

SfcSqlPathUtilities Classe

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc