PolicyCategorySubscription.TargetType プロパティ

サブスクリプションに関連付けられた対象の型を取得します。値の設定も可能です。

名前空間:  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
サブスクリプションに関連付けられている対象の型を示す String 値です。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

使用例

プロパティの設定

関連項目

参照

PolicyCategorySubscription クラス

Microsoft.SqlServer.Management.Dmf 名前空間