ReportingService2005.SetModelDefinition 메서드

Sets the definition for a specified model.

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

public Warning[] SetModelDefinition(
	string Model,
	byte[] Definition
)

매개 변수

Model
유형: System.String
The full name of the model for which to set the model definition.
Definition
유형: System.Byte[]
A byte array containing the XML model definition. The XML data is defined by the http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/ Semantic Model Definition Language .

반환 값

유형: ReportService2005.Warning[]
An array of Warning objects that describes any warnings that may have occurred during validation of the model definition.

The table below shows header and permissions information on this operation.

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

UpdateContent

The definition supplied replaces the existing model definition.

The model ID of the submitted model must match that of the existing model, or an rsModelIDMismatch error is returned.

커뮤니티 추가 항목

추가
표시: