ScriptFactory.InstallDatabaseDiagramSupportObjects 메서드

Used by other assemblies to make sure that database diagram support objects are installed.

네임스페이스:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리:  SQLEditors(SQLEditors.dll)

public bool InstallDatabaseDiagramSupportObjects(
	ServerConnection serverConnection,
	string databaseUrn

매개 변수

유형: Microsoft.SqlServer.Management.Common.ServerConnection
The ServerConnection by which to communicate to the server.
유형: System.String
A string value that specifies the URN describing the database into which to install database diagram support objects.

반환 값

유형: System.Boolean
A Boolean value, True if diagram support objects are installed, otherwise False.