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

AttributeRelationshipCollection.IsValidName 메서드 (String, String)

Verifies that the specified name is a valid name for an AttributeRelationship and returns the error message if it the name is not valid.

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

public bool IsValidName(
	string name,
	out string error

매개 변수

유형: System.String
Specifies the name to be validated.
유형: System.String
A System.String that holds the error message in case name is invalid.

반환 값

유형: System.Boolean
true if name is valid; otherwise, false.