Share via


PolicyCategorySubscription.Target Property

Gets or sets the target for the subscription.

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

Syntax

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

value = instance.Target

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

Property Value

Type: System.String
A String value that specifies the target for the subscription.

Remarks

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

See Also

Reference

PolicyCategorySubscription Class

Microsoft.SqlServer.Management.Dmf Namespace