Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects. It supports the type NationalInstruments.ModularInstruments.AdvancedPropertyAccessService, Ivi.Driver.IIviDriver and NIRfsa.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public object GetService(Type serviceType)

Parameters

NameTypeDescription
serviceTypeType

An object that specifies the type of service object to get. It supports the type NationalInstruments.ModularInstruments.AdvancedPropertyAccessService, Ivi.Driver.IIviDriver and NIRfsa.

Returns

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