Share via


SqlSmoObject.QuoteString(String, Char, Char) Method

Definition

Return name enclosing with delimiters.

public static string QuoteString (string name, char cStart = ''', char cEnd = ''');
static member QuoteString : string * char * char -> string
Public Shared Function QuoteString (name As String, Optional cStart As Char = ''', Optional cEnd As Char = ''') As String

Parameters

name
String

name to enclose

cStart
Char

starting delimiter character for enclosing

cEnd
Char

ending delimiter character for enclosing

Returns

Applies to