AdhocInstance.TryGetChildInstance Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Core.DriverFramework.Classes Namespace > AdhocInstance Class > AdhocInstance Methods >

AdhocInstance.TryGetChildInstance Method

Tries to get the child instance with the specified InstanceId.

Namespace: BNCS.Core.DriverFramework.Classes
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public bool TryGetChildInstance(
 string InstanceId,
 out IBNCSChildInstance instance
)

Parameters

InstanceId

Type: String
The unique identifier of the child instance to retrieve.

instance

Type: BNCS.Interfaces.IBNCSChildInstance
When this method returns, contains the child instance with the specified InstanceId, if found; otherwise, null.

Return Value

True if the child instance with the specified InstanceId was found and retrieved successfully; otherwise, false.

 

See Also


AdhocInstance Class

BNCS.Core.DriverFramework.Classes Namespace