Gets or sets a Boolean indicating whether the designer is working in an offline mode or online mode.
命名空间: Microsoft.SqlServer.Dts.Runtime.Design
程序集: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)
语法
声明
ReadOnly Property IsDesignerOnline As Boolean
bool IsDesignerOnline { get; }
property bool IsDesignerOnline {
bool get ();
}
/** @property */
boolean get_IsDesignerOnline ()
function get IsDesignerOnline () : boolean
属性值
true if the designer is working in an offline mode; false if the designer is working in online mode.
备注
This flag is useful for validation. There are things you cannot validate in offline mode, such as the database connections. By using this flag, you can modify your validation code to only validate things that make sense, depending on whether you are connected or not connected.
线程安全
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
IDtsConnectionService Interface
IDtsConnectionService Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace