Udostępnij przez


Metoda RoleCollection.Add (String)

Tworzy i dodaje Role, z określonego identyfikatora, do końca kolekcja.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Function Add ( _
    name As String _
) As Role
'Użycie
Dim instance As RoleCollection
Dim name As String
Dim returnValue As Role

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

Parametry

Wartość zwracana

Typ: Microsoft.AnalysisServices.Role
Indeks od zera, jaką Role została dodana.