NSApplication.InstanceName Property
Returns the name of the Notification Services instance that hosts the application.
Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
Syntax
'Declaration
Public ReadOnly Property InstanceName As String
public string InstanceName { get; }
public:
property String^ InstanceName {
String^ get ();
}
/** @property */
public String get_InstanceName ()
public function get InstanceName () : String
Property Value
A string containing the instance name.
Remarks
An instance of Notification Services hosts one or more applications. All applications hosted by an instance share subscriber and subscriber device data and can be administered as a single entity.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
NSApplication Class
NSApplication Members
Microsoft.SqlServer.NotificationServices Namespace