CollectorConfigStore 构造函数 (SqlStoreConnection)
初始化 CollectorConfigStore 对象。
命名空间: Microsoft.SqlServer.Management.Collector
程序集: Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)
语法
声明
Public Sub New ( _
connection As SqlStoreConnection _
)
用法
Dim connection As SqlStoreConnection
Dim instance As New CollectorConfigStore(connection)
public CollectorConfigStore(
SqlStoreConnection connection
)
public:
CollectorConfigStore(
SqlStoreConnection^ connection
)
new :
connection:SqlStoreConnection -> CollectorConfigStore
public function CollectorConfigStore(
connection : SqlStoreConnection
)
参数
- connection
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlStoreConnection
一个包含连接信息的 SqlStoreConnection 对象。
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.