Identifier.EncodeIdentifier Method (String)
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 _
) As String
'Usage
Dim identifier As String
Dim returnValue As String
returnValue = Identifier.EncodeIdentifier(identifier)
public static string EncodeIdentifier(
string identifier
)
public:
static String^ EncodeIdentifier(
String^ identifier
)
static member EncodeIdentifier :
identifier:string -> string
public static function EncodeIdentifier(
identifier : String
) : String
Parameters
- identifier
Type: System.String
Specifies the identifier.
Return Value
Type: System.String
The encoded identifier.