Share via


SfcSqlPathUtilities.EncodeSqlName Method

Encodes the specified SQL Server identifier. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Function EncodeSqlName ( _
    name As String _
) As String
'Usage
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

Parameters

Return Value

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