PerspectiveCalculationCollection.Add Yöntemi (String, PerspectiveCalculationType)
Oluşturur ve ekler bir PerspectiveCalculation, belirtilen tanımlayıcısı ile ve PerspectiveCalculationType sonuna kadar değer koleksiyon.
Ad Alanı: Microsoft.AnalysisServices
Derleme: Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)
Sözdizimi
'Bildirim
Public Function Add ( _
name As String, _
type As PerspectiveCalculationType _
) As PerspectiveCalculation
'Kullanım
Dim instance As PerspectiveCalculationCollection
Dim name As String
Dim type As PerspectiveCalculationType
Dim returnValue As PerspectiveCalculation
returnValue = instance.Add(name, type)
public PerspectiveCalculation Add(
string name,
PerspectiveCalculationType type
)
public:
PerspectiveCalculation^ Add(
String^ name,
PerspectiveCalculationType type
)
member Add :
name:string *
type:PerspectiveCalculationType -> PerspectiveCalculation
public function Add(
name : String,
type : PerspectiveCalculationType
) : PerspectiveCalculation
Parametreler
- name
Tür: System.String
Adı PerspectiveCalculation eklenecek
- type
Tür: Microsoft.AnalysisServices.PerspectiveCalculationType
PerspectiveCalculationType Değeri PerspectiveCalculation eklenecek
Dönüş Değeri
Tür: Microsoft.AnalysisServices.PerspectiveCalculation
Bir yeni, boş PerspectiveCalculation.