Name 属性

Gets or sets the name of the table.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("NamedSmoObject_NameName")> _
<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")> _
Property Name As String
    Get
    Set
用法
Dim instance As ITableOptions
Dim value As String

value = instance.Name

instance.Name = value
[DisplayNameKeyAttribute("NamedSmoObject_NameName")]
[DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")]
string Name { get; set; }
[DisplayNameKeyAttribute(L"NamedSmoObject_NameName")]
[DisplayDescriptionKeyAttribute(L"NamedSmoObject_NameDesc")]
property String^ Name {
    String^ get ();
    void set (String^ value);
}
[<DisplayNameKeyAttribute("NamedSmoObject_NameName")>]
[<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")>]
abstract Name : string with get, set
function get Name () : String
function set Name (value : String)

属性值

类型:System. . :: . .String
A String value that contains the name of the table.