مشاركة عبر


PolicyCategorySubscription.TargetType Property

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)

Property Value

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

Remarks

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

Examples

Setting Properties

See Also

Reference

PolicyCategorySubscription Class

Microsoft.SqlServer.Management.Dmf Namespace