Partager via


TargetName propriété

Gets or sets the name of the target that the collection set will collect data from.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (dans Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(Required := False)> _
Public Property TargetName As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .String
A String value that is the target name.

Notes

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