Partager via


Méthode EncodeSqlName

Encodes the specified SQL Server identifier. Ne référencez pas directement 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

Valeur de retour

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