Condividi tramite


Proprietà TargetName

Ottiene o imposta il nome del database di destinazione da cui verranno raccolti i dati mediante il set di raccolta.

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

Sintassi

'Dichiarazione
<SfcPropertyAttribute(Required := False)> _
Public Property TargetName As String
    Get
    Set
'Utilizzo
Dim instance As CollectionSet
Dim value As String

value = instance.TargetName

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

Valore proprietà

Tipo: System. . :: . .String
Un valore String che costituisce il nome di destinazione.

Osservazioni

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