共用方式為


Find 方法 (String, String)

Gets the specified AdomdProperty from the AdomdPropertyCollection by its name and namespace.

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

語法

'宣告
Public Function Find ( _
    propertyName As String, _
    propertyNamespace As String _
) As AdomdProperty
'用途
Dim instance As AdomdPropertyCollection
Dim propertyName As String
Dim propertyNamespace As String
Dim returnValue As AdomdProperty

returnValue = instance.Find(propertyName, _
    propertyNamespace)
public AdomdProperty Find(
    string propertyName,
    string propertyNamespace
)
public:
AdomdProperty^ Find(
    String^ propertyName, 
    String^ propertyNamespace
)
member Find : 
        propertyName:string * 
        propertyNamespace:string -> AdomdProperty 
public function Find(
    propertyName : String, 
    propertyNamespace : String
) : AdomdProperty

參數

備註

If the object is not found, the Find method returns null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) .