Dela via


Kpi Constructor (String, String)

Initializes a new instance of Kpi using a name and an identifier.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    id As String _
)
'Usage
Dim name As String
Dim id As String

Dim instance As New Kpi(name, id)
public Kpi(
    string name,
    string id
)
public:
Kpi(
    String^ name, 
    String^ id
)
new : 
        name:string * 
        id:string -> Kpi
public function Kpi(
    name : String, 
    id : String
)

Parameters

  • id
    Type: System.String
    A String that contains a unique identifier for the Kpi.