GPDomain.GetStarterGpo Method (Guid)
Retrieves the Starter Group Policy object (GPO) that has the specified ID (GUID) from the domain.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public StarterGpo GetStarterGpo(
Guid starterGpoId
)
public:
StarterGpo^ GetStarterGpo(
Guid starterGpoId
)
member GetStarterGpo :
starterGpoId:Guid -> StarterGpo
Public Function GetStarterGpo (
starterGpoId As Guid
) As StarterGpo
Parameters
starterGpoId
Type: System.GuidThe ID (GUID) of the Starter GPO to retrieve.
Return Value
Type: Microsoft.GroupPolicy.StarterGpo
Returns StarterGpo. The Starter GPO.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The Starter GPO is not found. |
See Also
GetStarterGpo Overload
GPDomain Class
Microsoft.GroupPolicy Namespace
Return to top