ConnectionSettings.SecureConnectionString 속성

암호화된 버전의 연결 문자열을 가져오거나 설정합니다.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)

구문

‘선언
<BrowsableAttribute(False)> _
Public Property SecureConnectionString As SecureString 
    Get 
    Set
‘사용 방법
Dim instance As ConnectionSettings 
Dim value As SecureString 

value = instance.SecureConnectionString

instance.SecureConnectionString = value
[BrowsableAttribute(false)]
public SecureString SecureConnectionString { get; set; }
[BrowsableAttribute(false)]
public:
property SecureString^ SecureConnectionString {
    SecureString^ get ();
    void set (SecureString^ value);
}
[<BrowsableAttribute(false)>]
member SecureConnectionString : SecureString with get, set
function get SecureConnectionString () : SecureString 
function set SecureConnectionString (value : SecureString)

속성 값

유형: SecureString
암호화된 연결 문자열을 지정하는 SecureString 값입니다.

주의

이속성은 명시적으로집합, 모든 속성에 ServerConnection개체에 제공 된연결 문자열값을 반영 하기 위해 채워집니다.

하려고 하면집합이속성연결을 변경할 수 없습니다, 경우는 ConnectionCannotBeChangedException예외가 throw 됩니다.

참고 항목

참조

ConnectionSettings 클래스

Microsoft.SqlServer.Management.Common 네임스페이스