Share via


ConnectionManagerCacheClass.UseFile Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets a Boolean that indicates whether the connection manager uses a cache file.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Property UseFile As Boolean 
    Get 
    Set
'Usage
Dim instance As ConnectionManagerCacheClass 
Dim value As Boolean 

value = instance.UseFile

instance.UseFile = value
public virtual bool UseFile { get; set; }
public:
virtual property bool UseFile {
    bool get ();
    void set (bool value);
}
abstract UseFile : bool with get, set 
override UseFile : bool with get, set
function get UseFile () : boolean 
function set UseFile (value : boolean)

Property Value

Type: System.Boolean
true if the connection manager uses a cache file; otherwise, false.

Implements

IDTSConnectionManagerCache100.UseFile

Remarks

For more information, see ConnectionManager.

See Also

Reference

ConnectionManagerCacheClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace