Removes the dimension from the schema definition.
Syntax
Parameters
- dimension
- The dimension to remove.
Return Value
A reference to this instance after the Remove operation has completed.
Exceptions
| Exception | Description |
| System.ArgumentNullException | The dimension is a null reference (Nothing in Visual Basic). |
Example
The following code example demonstrates how to remove the 'Order Date' dimension from the existing
SchemaBuilder.
| C# | Copy Code |
|---|
// Remove dimension with name 'Order Date'.
schemaBuilder.RemoveDimension(schemaBuilder.Dimensions["Order Date"]); |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also