Identifier.EncodeIdentifier Identifier.EncodeIdentifier Identifier.EncodeIdentifier Method

Definition

Encodes the identifier.

Overloads

EncodeIdentifier(String) EncodeIdentifier(String) EncodeIdentifier(String)

Encodes the identifier.

EncodeIdentifier(String, QuoteType) EncodeIdentifier(String, QuoteType)

Encodes the identifier.

EncodeIdentifier(String) EncodeIdentifier(String) EncodeIdentifier(String)

Encodes the identifier.

public:
 static System::String ^ EncodeIdentifier(System::String ^ identifier);
public static string EncodeIdentifier (string identifier);
Public Shared Function EncodeIdentifier (identifier As String) As String
Parameters
identifier
String String String

Specifies the identifier.

Returns

The encoded identifier.

EncodeIdentifier(String, QuoteType) EncodeIdentifier(String, QuoteType)

Encodes the identifier.

public:
 static System::String ^ EncodeIdentifier(System::String ^ identifier, Microsoft::SqlServer::TransactSql::ScriptDom::QuoteType quoteType);
public static string EncodeIdentifier (string identifier, Microsoft.SqlServer.TransactSql.ScriptDom.QuoteType quoteType);
Parameters
identifier
String String String

Specifies the identifier.

quoteType
QuoteType QuoteType QuoteType

Specifies the quote type.

Returns

The encoded identifier.

Applies to