Partager via


Propriété PolicyCategorySubscription.TargetType

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property TargetType As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemples

Définition de propriétés

Voir aussi

Référence

PolicyCategorySubscription Classe

Espace de noms Microsoft.SqlServer.Management.Dmf