指示连接管理器是托管提供程序、连接字符串和加密的连接字符串中指定的数据连接。
命名空间: Microsoft.VisualStudio.Data.Services
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Function IsManaging ( _
provider As Guid, _
connectionString As String, _
encryptedString As Boolean _
) As Boolean
bool IsManaging(
Guid provider,
string connectionString,
bool encryptedString
)
bool IsManaging(
Guid provider,
String^ connectionString,
bool encryptedString
)
abstract IsManaging :
provider:Guid *
connectionString:string *
encryptedString:bool -> bool
function IsManaging(
provider : Guid,
connectionString : String,
encryptedString : boolean
) : boolean
参数
- provider
类型:System.Guid
DDEX提供程序的GUID。
- connectionString
类型:System.String
连接字符串以未加密或加密形式。
- encryptedString
类型:System.Boolean
指示连接字符串是否的 Boolean 值加密(true)或未加密(false)。
返回值
类型:System.Boolean
true ,如果连接管理器管理指定的数据连接;否则,false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。