次の方法で共有


Name プロパティ

ビューの名前を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")> _
<DisplayNameKeyAttribute("NamedSmoObject_NameName")> _
ReadOnly Property Name As String
    Get
'使用
Dim instance As IViewOptions
Dim value As String

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

プロパティ値

型: System. . :: . .String
ビューの名前を含む String 値です。