TargetType 属性

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

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property TargetType As String
    Get
    Set
用法
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)

属性值

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

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

设置属性