IOperationManager.IsOdataQueryOptionSupported Method (SenderInfo, String, IEnumerable, PswsPropertyInfo)

Indicates whether the query option is supported on a property for a resource type. This element is introduced in Windows PowerShell 4.0.


Namespace: Microsoft.Management.Odata
Assembly: Microsoft.Management.OData (in Microsoft.Management.OData.dll)

'Usage
Dim instance As IOperationManager
Dim senderInfo As SenderInfo
Dim resourceTypeName As String
Dim supportedProperties As IEnumerable(Of PswsPropertyInfo)
Dim property As PswsPropertyInfo
Dim returnValue As Boolean

returnValue = instance.IsOdataQueryOptionSupported(senderInfo, resourceTypeName, supportedProperties, property)

bool IsOdataQueryOptionSupported (
	SenderInfo senderInfo,
	string resourceTypeName,
	IEnumerable<PswsPropertyInfo> supportedProperties,
	PswsPropertyInfo property
)
boolean IsOdataQueryOptionSupported (
	SenderInfo senderInfo, 
	String resourceTypeName, 
	IEnumerable<PswsPropertyInfo> supportedProperties, 
	PswsPropertyInfo property
)
function IsOdataQueryOptionSupported (
	senderInfo : SenderInfo, 
	resourceTypeName : String, 
	supportedProperties : IEnumerable<PswsPropertyInfo>, 
	property : PswsPropertyInfo
) : boolean

Parameters

senderInfo

The sender information.

resourceTypeName

The full name of the resource type.

supportedProperties

The supported properties of the resource type.

property

The name of the property to query.

Return Value

True if the query option is supported, else false.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show: