Visual Studio 2017을 사용하는 것이 좋습니다.

RoleCollection.Add 메서드 (String)

Creates and adds a Role, with the specified identifier, to the end of the collection.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

public Role Add(
	string name

매개 변수

유형: System.String
The identifier of the Role to add.

반환 값

유형: Microsoft.AnalysisServices.Role
The zero-based index at which the Role has been added.