Partilhar via


NSInstance.ArgumentKey Property

Gets or sets the key used to encrypt delivery channel and event provider arguments that are stored in Notification Services databases.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
Public Property ArgumentKey As String
public string ArgumentKey { get; set; }
public:
virtual property String^ ArgumentKey {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_ArgumentKey ()

/** @property */
public final void set_ArgumentKey (String value)
public final function get ArgumentKey () : String

public final function set ArgumentKey (value : String)

Property Value

A string containing the key value used to encrypt delivery channel and event provider arguments in the instance and application databases. The encryption key string can contain up to 2500 characters.

Remarks

The argument key is stored in the Microsoft Windows registry. You must provide the same key when registering, creating, and updating an instance of Notification Services.

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

NSInstance Class
NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace