Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ModelComponentCollection.AddNew Method (String, String, Type)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Adds a new IModelComponent to the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")]
protected IModelComponent AddNew(
	string name,
	string key,
	Type type
)

Parameters

name
Type: String
The name of the component to add.
key
Type: String
The key.
type
Type: Type
The type of the component.

Return Value

Type: Microsoft.AnalysisServices.IModelComponent
The IModelComponent added to the collection.

Community Additions

ADD
Show:
© 2015 Microsoft