Creates and initializes an object of the DeliveryChannelEnumeration class.
命名空间: Microsoft.SqlServer.NotificationServices
程序集: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
语法
声明
Public Sub New ( _
nsInstance As NSInstance _
)
public DeliveryChannelEnumeration (
NSInstance nsInstance
)
public:
DeliveryChannelEnumeration (
NSInstance^ nsInstance
)
public DeliveryChannelEnumeration (
NSInstance nsInstance
)
public function DeliveryChannelEnumeration (
nsInstance : NSInstance
)
参数
- nsInstance
An NSInstance that represents an instance of Notification Services.
示例
The following examples show how to create and initialize a DeliveryChannelEnumeration object in managed code.
These examples use the Microsoft.SqlServer.NotificationServices namespace.
Dim instanceName As String = "MyInstanceName"
'Create an NSInstance object.
Dim myInstance As New NSInstance(instanceName)
'Create a DeliveryChannelEnumeration object.
Dim myDeliveryChannelEnumeration As _
New DeliveryChannelEnumeration(myInstance)
string instanceName = "MyInstanceName";
//Create an NSInstance object.
NSInstance myInstance = new NSInstance(instanceName);
//Create a DeliveryChannelEnumeration object.
DeliveryChannelEnumeration myDeliveryChannelEnumeration =
new DeliveryChannelEnumeration(myInstance);
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
DeliveryChannelEnumeration Class
DeliveryChannelEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace