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 值。
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.