This topic has not yet been rated - Rate this topic

SqlMetaData.XmlSchemaCollectionDatabase Property

Note: This property is new in the .NET Framework version 2.0.

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 */
public String get_XmlSchemaCollectionDatabase ()

public function get XmlSchemaCollectionDatabase () : String

Property Value

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

The default value is a null reference (Nothing in Visual Basic).

This property may be a null reference (Nothing in Visual Basic)if the collection is defined within the current database. It is also a null reference (Nothing in Visual Basic) if there is no schema collection, in which case XmlSchemaCollectionName and XmlSchemaCollectionOwningSchema are also null.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.