Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
XmlSchemaCollectionDatabase Property

SqlMetaData.XmlSchemaCollectionDatabase Property

Gets the name of the database where the schema collection for this XML instance is located.

Namespace:  Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public string XmlSchemaCollectionDatabase { get; }

Property Value

Type: System.String
The name of the database where the schema collection for this XML instance is located as a String.

The default value is null.

This property may be null if the collection is defined within the current database. It is also null if there is no schema collection, in which case XmlSchemaCollectionName and XmlSchemaCollectionOwningSchema are also null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft