Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Encodes the identifier.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Shared Function EncodeIdentifier ( _
identifier As String, _
quoteType As QuoteType _
) As String
'Usage
Dim identifier As String
Dim quoteType As QuoteType
Dim returnValue As String
returnValue = Identifier.EncodeIdentifier(identifier, _
quoteType)
public static string EncodeIdentifier(
string identifier,
QuoteType quoteType
)
public:
static String^ EncodeIdentifier(
String^ identifier,
QuoteType quoteType
)
static member EncodeIdentifier :
identifier:string *
quoteType:QuoteType -> string
public static function EncodeIdentifier(
identifier : String,
quoteType : QuoteType
) : String
Parameters
- identifier
Type: System.String
Specifies the identifier.
- quoteType
Type: Microsoft.SqlServer.TransactSql.ScriptDom.QuoteType
Specifies the quote type.
Return Value
Type: System.String
The encoded identifier.