共用方式為


Target 屬性

Gets or sets the target for the subscription.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property Target As String
    Get
    Set
'用途
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)

屬性值

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。