ScriptFactory.InstallDatabaseDiagramSupportObjects Method
Used by other assemblies to make sure that database diagram support objects are installed.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly: SQLEditors (in SQLEditors.dll)
Syntax
'Declaration
Public Function InstallDatabaseDiagramSupportObjects ( _
serverConnection As ServerConnection, _
databaseUrn As String _
) As Boolean
'Usage
Dim instance As ScriptFactory
Dim serverConnection As ServerConnection
Dim databaseUrn As String
Dim returnValue As Boolean
returnValue = instance.InstallDatabaseDiagramSupportObjects(serverConnection, _
databaseUrn)
public bool InstallDatabaseDiagramSupportObjects(
ServerConnection serverConnection,
string databaseUrn
)
public:
virtual bool InstallDatabaseDiagramSupportObjects(
ServerConnection^ serverConnection,
String^ databaseUrn
) sealed
abstract InstallDatabaseDiagramSupportObjects :
serverConnection:ServerConnection *
databaseUrn:string -> bool
override InstallDatabaseDiagramSupportObjects :
serverConnection:ServerConnection *
databaseUrn:string -> bool
public final function InstallDatabaseDiagramSupportObjects(
serverConnection : ServerConnection,
databaseUrn : String
) : boolean
Parameters
- serverConnection
Type: Microsoft.SqlServer.Management.Common.ServerConnection
The ServerConnection by which to communicate to the server.
- databaseUrn
Type: System.String
A string value that specifies the URN describing the database into which to install database diagram support objects.
Return Value
Type: System.Boolean
A Boolean value, True if diagram support objects are installed, otherwise False.
See Also
Reference
Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace