次の方法で共有


CollectionItem.Name プロパティ

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

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

構文

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

value = instance.Name

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

プロパティ値

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

説明

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

関連項目

参照

CollectionItem クラス

Microsoft.SqlServer.Management.Collector 名前空間