Name 属性

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

语法

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

value = instance.Name

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

属性值

类型:System. . :: . .String