SqlParameter.XmlSchemaCollectionDatabase Property

Definition

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

C#
public string XmlSchemaCollectionDatabase { get; set; }

Property Value

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

Remarks

This value is null (Nothing in Microsoft Visual Basic) 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.

Applies to

Product Versions
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2