Instance.ArgumentKey Property
Gets or sets the argument key used to encrypt delivery channel and event provider arguments.
네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
구문
‘선언
Public Property ArgumentKey As String
public string ArgumentKey { get; set; }
public:
property String^ ArgumentKey {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_ArgumentKey ()
/** @property */
public void set_ArgumentKey (String value)
public function get ArgumentKey () : String
public function set ArgumentKey (value : String)
속성 값
A String of up to 2500 characters that is used to encrypt delivery channel and event provider arguments.
주의
Whether encryption is performed or not is based on the EncryptArguments property. If the EncryptArguments property value is true, Notification Services encrypts delivery channel and event provider arguments using the ArgumentKey value as the key. If encrypting arguments, you must provide this argument key when creating and updating the instance and to read delivery channel and event provider argument values from the database. If you do not provide the argument key value, Notification Services will throw an exception.
The argument key is an object-level property. It is not persisted to the database. When you instantiate an Instance object, and you are using argument encryption, you must specify the argument key. You can then use this argument key within that Instance object.
예
The following examples show how to enable argument encryption and set the argument key:
myInstance.EncryptArguments = true;
myInstance.ArgumentKey = "MyKey135711";
myInstance.EncryptArguments = True
myInstance.ArgumentKey = "MyKey135711"
스레드 보안
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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
Instance Class
Instance Members
Microsoft.SqlServer.Management.Nmo Namespace
관련 자료
Notification Services 인스턴스 구성
nscontrol displayargumentkey 명령