IScheduler::OpenPool method
Opens a pool based on the name of the pool on the cluster.
Syntax
HRESULT OpenPool(
[in] BSTR *poolName,
[out] ISchedulerPool *pool
);
Parameters
poolName [in]
The name of the pool to be opened.pool [out]
The pool.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ISchedulerJob::ErrorMessage property.
Requirements
Product |
This method was introduced in Windows HPC Server 2008 R2 Service Pack 2 (SP2) and is not supported in previous versions. |
Type library |
Microsoft.Hpc.Scheduler.tlb |