次の方法で共有


Name プロパティ

コレクション アイテム名を取得します。値の設定も可能です。

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

構文

'宣言
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public Property Name As String
    Get
    Set
'使用
Dim instance As CollectionItem
Dim value As String

value = instance.Name

instance.Name = value
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public string Name { get; set; }
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute>]
member Name : string with get, set
function get Name () : String
function set Name (value : String)

プロパティ値

型: System. . :: . .String
コレクション アイテムの名前を含む String 値です。

説明

この名前空間、クラス、またはメンバは、Microsoft .NET Framework 2.0 でのみサポートされています。