Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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.