共用方式為


RelationshipTypeSubscription Constructor (OperationType, Guid, Guid, 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 RelationshipTypeSubscription object.

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

Usage

'Usage
Dim operation As OperationType
Dim sourceTypeId As Guid
Dim targetTypeId As Guid
Dim relationshipTypeId As Guid
Dim criteria As String
Dim runasSecureRefId As Guid

Dim instance As New RelationshipTypeSubscription(operation, sourceTypeId, targetTypeId, relationshipTypeId, criteria, runasSecureRefId)

Syntax

'Declaration
Public Sub New ( _
    operation As OperationType, _
    sourceTypeId As Guid, _
    targetTypeId As Guid, _
    relationshipTypeId As Guid, _
    criteria As String, _
    runasSecureRefId As Guid _
)
public RelationshipTypeSubscription (
    OperationType operation,
    Guid sourceTypeId,
    Guid targetTypeId,
    Guid relationshipTypeId,
    string criteria,
    Guid runasSecureRefId
)
public:
RelationshipTypeSubscription (
    OperationType operation, 
    Guid sourceTypeId, 
    Guid targetTypeId, 
    Guid relationshipTypeId, 
    String^ criteria, 
    Guid runasSecureRefId
)
public RelationshipTypeSubscription (
    OperationType operation, 
    Guid sourceTypeId, 
    Guid targetTypeId, 
    Guid relationshipTypeId, 
    String criteria, 
    Guid runasSecureRefId
)
public function RelationshipTypeSubscription (
    operation : OperationType, 
    sourceTypeId : Guid, 
    targetTypeId : Guid, 
    relationshipTypeId : Guid, 
    criteria : String, 
    runasSecureRefId : Guid
)

Parameters

  • operation
    The operation.
  • sourceTypeId
    The source type ID.
  • targetTypeId
    The target type ID.
  • relationshipTypeId
    The relationship 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

RelationshipTypeSubscription Class
RelationshipTypeSubscription Members
Microsoft.EnterpriseManagement.Subscriptions Namespace