共用方式為


AccountCollection.Find(String) Method

Definition

Gets the Account that has the specified account type from the collection.

public Microsoft.AnalysisServices.Account Find (string accountType);
member this.Find : string -> Microsoft.AnalysisServices.Account
Public Function Find (accountType As String) As Account

Parameters

accountType
String

The account type of the Account to locate.

Returns

The Account with the specified account type, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to