WorkloadGroupCollection.ItemById Method (Int32)

 

Extracts a member from the workload group collection by using a system-defined, unique identifier.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public WorkloadGroup ItemById(
	int id
)

Parameters

id
Type: System.Int32

The ID of the workload group item.

Return Value

Type: Microsoft.SqlServer.Management.Smo.WorkloadGroup

The WorkloadGroup with specified ID.

Return to top
Show: