Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies whether the database supports schemas.
Namespace: Microsoft.Web.Management.DatabaseManager
Assembly: Microsoft.Web.Management.DatabaseManager (in Microsoft.Web.Management.DatabaseManager.dll)
Syntax
'Declaration
Public Property SupportsSchemas As Boolean
'Usage
Dim instance As DatabaseInfo
Dim value As Boolean
value = instance.SupportsSchemas
instance.SupportsSchemas = value
public bool SupportsSchemas { get; set; }
public:
property bool SupportsSchemas {
bool get ();
void set (bool value);
}
function get SupportsSchemas () : boolean
function set SupportsSchemas (value : boolean)
Property Value
Type: System.Boolean
true if the database supports schemas; otherwise, false.
Remarks
Your provider must implement the GetDatabaseInfo method to return a DatabaseInfo object for your provider. This object should indicate whether your database supports schemas.
Note
The schema support for a provider varies greatly between database servers; you must consult the documentation for your database server in order to determine schema support for your provider.
Examples
The following code sample illustrates a sample GetDatabaseInfo method that returns a DatabaseInfo object that identifies the database provider for schema support.
Public Overrides Function GetDatabaseInfo( _
ByVal connectionString As String) _
As Microsoft.Web.Management.DatabaseManager.DatabaseInfo
Dim info As DatabaseInfo = New DatabaseInfo
info.SupportsSchemas = True
Return info
End Function
public override DatabaseInfo GetDatabaseInfo(
string connectionString )
{
DatabaseInfo info = new DatabaseInfo();
info.SupportsSchemas = true;
return info;
}
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.