SchemaBuilder.SetSchemaName
Method
Description:
Sets the name of the Schema.
Sets the name of the Schema.
Remarks:
The name is a user-friendly identifier of the Schema. GUIDs are used exclusively for Schema identity, but the name is useful to identify the Schema during development or in an error message. This field is required.
The name is a user-friendly identifier of the Schema. GUIDs are used exclusively for Schema identity, but the name is useful to identify the Schema during development or in an error message. This field is required.
Parameters
Parameter | Type | Description |
---|---|---|
schemaName | String | The name for the Schema. |
Return Value
Type | Description |
---|---|
SchemaBuilder | The SchemaBuilder object may be used to add more settings. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The parameter schemaName is not acceptable for naming Extensible Storage objects. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | The SchemaBuilder has already finished building the Schema. |