SqlDataDictionary.name Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
name(String) |
Translates any object name into a valid SQL database object-name; that is, valid for the database currently connected. |
name(String, Int32) | |
name(String, Int32, Int32) |
name(String)
Translates any object name into a valid SQL database object-name; that is, valid for the database currently connected.
public:
virtual System::String ^ name(System::String ^ text1);
public virtual string name (string text1);
abstract member name : string -> string
override this.name : string -> string
Public Overridable Function name (text1 As String) As String
Parameters
- text1
- String
Returns
The valid object name.
Remarks
Because names may be truncated, a unique object identifier may be supplied. Also, a third parameter enables the method to return discrete SQL field names for array fields.
Applies to
name(String, Int32)
public:
virtual System::String ^ name(System::String ^ text1, int num1);
public virtual string name (string text1, int num1);
abstract member name : string * int -> string
override this.name : string * int -> string
Public Overridable Function name (text1 As String, num1 As Integer) As String
Parameters
- text1
- String
- num1
- Int32
Returns
Applies to
name(String, Int32, Int32)
public:
virtual System::String ^ name(System::String ^ _bmsname, int _fieldId, int _arrayindex);
public virtual string name (string _bmsname, int _fieldId, int _arrayindex);
abstract member name : string * int * int -> string
override this.name : string * int * int -> string
Public Overridable Function name (_bmsname As String, _fieldId As Integer, _arrayindex As Integer) As String
Parameters
- _bmsname
- String
A field index (0 for not applicable), that is, an array field's arrayindex'th entry, such as Dimension[2]; optional.
- _fieldId
- Int32
A field index (0 for not applicable), that is, an array field's arrayindex'th entry, such as Dimension[2]; optional.
- _arrayindex
- Int32
A field index (0 for not applicable), that is, an array field's arrayindex'th entry, such as Dimension[2]; optional.