Condividi tramite


Proprietà Name

Ottiene o imposta il nome del set di raccolta.

Spazio dei nomi  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
<SfcKeyAttribute()> _
Public Property Name As String
    Get
    Set
'Utilizzo
Dim instance As CollectionSet
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)

Valore proprietà

Tipo: System. . :: . .String
Un valore String che costituisce il nome del set di raccolta.

Osservazioni

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.