Freigeben über


PolicyCategorySubscription.TargetType-Eigenschaft

Gets or sets the target type that is associated with the subscription.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property TargetType As String 
    Get 
    Set
'Usage
Dim instance As PolicyCategorySubscription 
Dim value As String 

value = instance.TargetType

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

Eigenschaftswert

Typ: System.String
A String value that specifies the target type that is associated with the subscription.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

PolicyCategorySubscription Klasse

Microsoft.SqlServer.Management.Dmf-Namespace