EncodeSqlName-Methode
Encodes the specified SQL Server identifier. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
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
Parameter
- name
Typ: System. . :: . .String
The SQL Server identifier to encode.
Rückgabewert
Typ: System. . :: . .String
The SQL Server identifier encoded so that it will work in PowerShell paths.