Instance.EncryptArguments Property
Gets or sets the argument encryption setting for the instance of Notification Services.
네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
구문
‘선언
Public Property EncryptArguments As Boolean
public bool EncryptArguments { get; set; }
public:
property bool EncryptArguments {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_EncryptArguments ()
/** @property */
public void set_EncryptArguments (boolean value)
public function get EncryptArguments () : boolean
public function set EncryptArguments (value : boolean)
속성 값
true if Notification Services encrypts delivery channel and event provider arguments before storing them in the database; otherwise, false.
주의
The EncryptArguments property specifies whether the instance encrypts delivery channel and event provider arguments before storing the values in the instance and application databases. These arguments can contain user names and passwords, so encrypting these values prevents anyone from reading the values from the databases.
Before you create the instance, you must determine the value for the ArgumentKey property, which is a string of up to 2500 characters that Notification Services uses to encrypt the data. You must supply this key value when you create, register, and update the instance.
예
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 인스턴스 구성
EncryptArguments Element (ICF)