共用方式為


IUserOptions.Name 屬性

Gets the name of the options referenced by the interface.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("NamedSmoObject_NameName")> _
<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")> _
ReadOnly Property Name As String 
    Get
'用途
Dim instance As IUserOptions 
Dim value As String 

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

屬性值

型別:System.String
A string value that contains the name.

請參閱

參考

IUserOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間