共用方式為


GetEnumerator 方法

Gets an instance of the AdomdRestrictionCollection..::..Enumerator class for iterating through the collection.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Function GetEnumerator As AdomdRestrictionCollection..::..Enumerator
'用途
Dim instance As AdomdRestrictionCollection
Dim returnValue As AdomdRestrictionCollection..::..Enumerator

returnValue = instance.GetEnumerator()
public AdomdRestrictionCollection..::..Enumerator GetEnumerator()
public:
AdomdRestrictionCollection..::..Enumerator GetEnumerator()
member GetEnumerator : unit -> AdomdRestrictionCollection..::..Enumerator 
public function GetEnumerator() : AdomdRestrictionCollection..::..Enumerator