GetByName Método
Gets the Partition, with the specified name, from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function GetByName ( _
name As String _
) As Partition
'Uso
Dim instance As PartitionCollection
Dim name As String
Dim returnValue As Partition
returnValue = instance.GetByName(name)
public Partition GetByName(
string name
)
public:
Partition^ GetByName(
String^ name
)
member GetByName :
name:string -> Partition
public function GetByName(
name : String
) : Partition
Parámetros
- name
Tipo: System. . :: . .String
The name of the Partition to be returned.
Valor devuelto
Tipo: Microsoft.AnalysisServices. . :: . .Partition
The Partition if contained in the collection.
Excepciones
Excepción | Condición |
---|---|
ItemNotFoundException | name is not contained by the collection. |
Vea también