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

MdxScriptCollection.Add 메서드 (String, String)

Creates and adds an MdxScript, with the specified name and identifier, to the end of the collection.

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

public MdxScript Add(
	string name,
	string id

매개 변수

유형: System.String
The name of the MdxScript to be added.
유형: System.String
The identifier of the MdxScript to be added.

반환 값

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