WizardPage.GetService Method (Type)


Gets the service object that is associated with the specified type.

Namespace:   Microsoft.Web.Management.Client.Win32
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

protected override object GetService(
	Type serviceType


Type: System.Type

The type of service object to obtain.

Return Value

Type: System.Object

A service object of type serviceType, or null if there is no service object of type serviceType.

This method enables you to create a custom GetService method.

Return to top