다음을 통해 공유


RestoreInfo.Security Property

Gets or sets the Security definition to apply to roles from the restore file.

네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

구문

‘선언
Public Property Security As RestoreSecurity
public RestoreSecurity Security { get; set; }
public:
property RestoreSecurity Security {
    RestoreSecurity get ();
    void set (RestoreSecurity value);
}
/** @property */
public RestoreSecurity get_Security ()

/** @property */
public void set_Security (RestoreSecurity value)
public function get Security () : RestoreSecurity

public function set Security (value : RestoreSecurity)

속성 값

A RestoreSecurity enumeration value: CopyAll | SkipMembership | IgnoreSecurity

주의

CopyAll –all Role objects from the backup file will be restored as they were at the time of backup. IgnoreSecurity –the server will remove all existing Role objects from the database that is in the backup file and replace them with the Role objects in database that is being overwritten. In effect, the user will see no change in the roles after restore. If backup is not overwriting the database, but just restoring anew, you will not see any roles after restore is finished. SkipMembership –the server will retain membership information. All Role objects will be restored from backup, but membership in the roles will match the state before the restore. If the database is restored anew (not overwriting existing database), then after the restore, all Role objects will contain no members.

스레드 보안

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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

RestoreInfo Class
RestoreInfo Members
Microsoft.AnalysisServices Namespace