共用方式為


InstanceTypeSubscription Constructor (OperationType, Guid, String, Guid)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new InstanceTypeSubscription object.

Namespace: Microsoft.EnterpriseManagement.Subscriptions
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim operation As OperationType
Dim typeId As Guid
Dim criteria As String
Dim runasSecureRefId As Guid

Dim instance As New InstanceTypeSubscription(operation, typeId, criteria, runasSecureRefId)

Syntax

'Declaration
Public Sub New ( _
    operation As OperationType, _
    typeId As Guid, _
    criteria As String, _
    runasSecureRefId As Guid _
)
public InstanceTypeSubscription (
    OperationType operation,
    Guid typeId,
    string criteria,
    Guid runasSecureRefId
)
public:
InstanceTypeSubscription (
    OperationType operation, 
    Guid typeId, 
    String^ criteria, 
    Guid runasSecureRefId
)
public InstanceTypeSubscription (
    OperationType operation, 
    Guid typeId, 
    String criteria, 
    Guid runasSecureRefId
)
public function InstanceTypeSubscription (
    operation : OperationType, 
    typeId : Guid, 
    criteria : String, 
    runasSecureRefId : Guid
)

Parameters

  • operation
    The operation.
  • typeId
    The type ID.
  • criteria
    The criteria.
  • runasSecureRefId
    The ID of the run-as account.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InstanceTypeSubscription Class
InstanceTypeSubscription Members
Microsoft.EnterpriseManagement.Subscriptions Namespace