InstanceEnumeration.Item Property
Returns a reference to an NSInstanceDescription.
네임스페이스: Microsoft.SqlServer.NotificationServices
어셈블리: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
구문
‘선언
Public ReadOnly Default Property Item ( _
instanceName As String _
) As NSInstanceDescription
public NSInstanceDescription this [
string instanceName
] { get; }
public:
virtual property NSInstanceDescription^ default [String^] {
NSInstanceDescription^ get (String^ instanceName) sealed;
}
/** @property */
public final NSInstanceDescription get_Item (String instanceName)
매개 변수
- instanceName
The name of the Notification Services instance for which a description is to be returned.
속성 값
An NSInstanceDescription object, which contains descriptive information about the specified Notification Services instance.
예
The following examples show how to use the Item property to return an NSInstanceDescription object:
Dim instanceName As String = "MyInstanceName"
'Create an InstanceEnumeration object.
Dim myInstanceEnumeration As New InstanceEnumeration()
'Use the Item property to return an NSInstanceDescription object.
Dim myInstanceDescription As NSInstanceDescription = _
myInstanceEnumeration(instanceName)
string instanceName = "MyInstanceName";
//Create an InstanceEnumeration object.
InstanceEnumeration myInstanceEnumeration =
new InstanceEnumeration();
//Use the Item property to return an NSInstanceDescription object.
NSInstanceDescription myInstanceDescription =
myInstanceEnumeration[instanceName];
스레드 보안
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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
InstanceEnumeration Class
InstanceEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace