다음을 통해 공유


Regenerate 메서드 (Boolean)

Regenerates the service master key with the option to force the regeneration, and removes all items that cannot be successfully decrypted.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Sub Regenerate ( _
    forceRegeneration As Boolean _
)
‘사용 방법
Dim instance As ServiceMasterKey
Dim forceRegeneration As Boolean

instance.Regenerate(forceRegeneration)
public void Regenerate(
    bool forceRegeneration
)
public:
void Regenerate(
    bool forceRegeneration
)
member Regenerate : 
        forceRegeneration:bool -> unit 
public function Regenerate(
    forceRegeneration : boolean
)

매개 변수

  • forceRegeneration
    형식: System. . :: . .Boolean
    A Boolean value that specifies whether to drop the items that cannot be successfully regenerated.
    If True, regeneration of the master key is forced and all items that cannot be regenerated are dropped.
    If False, regeneration of the master key is not forced.