Aracılığıyla paylaş


DataSourceViewCollection.GetByName Yöntemi

Alır DataSourceView, belirtilen adı taşıyan dan koleksiyon.

Ad Alanı:  Microsoft.AnalysisServices
Derleme:  Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)

Sözdizimi

'Bildirim
Public Function GetByName ( _
    name As String _
) As DataSourceView
'Kullanım
Dim instance As DataSourceViewCollection
Dim name As String
Dim returnValue As DataSourceView

returnValue = instance.GetByName(name)
public DataSourceView GetByName(
    string name
)
public:
DataSourceView^ GetByName(
    String^ name
)
member GetByName : 
        name:string -> DataSourceView 
public function GetByName(
    name : String
) : DataSourceView

Parametreler

Dönüş Değeri

Tür: Microsoft.AnalysisServices.DataSourceView
DataSourceView Yer alan, koleksiyon.

Kural dışı durumlar

Özel durum Koşul
ItemNotFoundException

namekoleksiyon tarafından yer alıyor.