User.MakeContained 메서드
Converts a login mapped user to a contained user with password using the sys.sp_copy_password_to_user stored procedure.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub MakeContained ( _
copyLoginName As Boolean, _
disableLogin As Boolean _
)
‘사용 방법
Dim instance As User
Dim copyLoginName As Boolean
Dim disableLogin As Boolean
instance.MakeContained(copyLoginName, _
disableLogin)
public void MakeContained(
bool copyLoginName,
bool disableLogin
)
public:
void MakeContained(
bool copyLoginName,
bool disableLogin
)
member MakeContained :
copyLoginName:bool *
disableLogin:bool -> unit
public function MakeContained(
copyLoginName : boolean,
disableLogin : boolean
)
매개 변수
- copyLoginName
유형: System.Boolean
Copies the earlier mapped login name to the contained user.
- disableLogin
유형: System.Boolean
Disables the earlier mapped login.