RdtManager.CloseOpenDocument Method

Verifies that a file is closed before opening the T-SQL editor.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function CloseOpenDocument ( _
    fileName As String _
) As Boolean
'Usage
Dim fileName As String
Dim returnValue As Boolean

returnValue = RdtManager.CloseOpenDocument(fileName)
public static bool CloseOpenDocument(
    string fileName
)
public:
static bool CloseOpenDocument(
    String^ fileName
)
public static function CloseOpenDocument(
    fileName : String
) : boolean
static member CloseOpenDocument : 
        fileName:string -> bool 

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

RdtManager Class

RdtManager Members

Microsoft.VisualStudio.Data.Schema.Project.Project Namespace