다음을 통해 공유


CollectionSet.TargetName 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Collector
어셈블리:  Microsoft.SqlServer.Management.Collector(Microsoft.SqlServer.Management.Collector.dll)

구문

‘선언
<SfcPropertyAttribute(Required := False)> _
Public Property TargetName As String 
    Get 
    Set
‘사용 방법
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)

속성 값

유형: System.String
A String value that is the target name.

주의

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

참고 항목

참조

CollectionSet 클래스

Microsoft.SqlServer.Management.Collector 네임스페이스