Find 方法
Gets the Role that has the specified identifier from the collection.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Function Find ( _
id As String _
) As Role
用法
Dim instance As RoleCollection
Dim id As String
Dim returnValue As Role
returnValue = instance.Find(id)
public Role Find(
string id
)
public:
Role^ Find(
String^ id
)
member Find :
id:string -> Role
public function Find(
id : String
) : Role
参数
- id
类型:System. . :: . .String
The identifier of the Role to return.
返回值
类型:Microsoft.AnalysisServices. . :: . .Role
The Role if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).