ModelComponentCollection.AddNew Method (String, String, Type)

 

Applies To: SQL Server (starting with 2016)

Adds a new IModelComponent to the collection.

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

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

Parameters

name
Type: System.String

The name of the component to add.

key
Type: System.String

The key.

type
Type: System.Type

The type of the component.

Return Value

Type: Microsoft.AnalysisServices.IModelComponent

The IModelComponent added to the collection.

Return to top
Show: