다음을 통해 공유


IsLogin Method

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The IsLogin method returns TRUE when the string specified is a valid name string for a Microsoft SQL Server login record.

구문

object
.IsLogin(
LoginName
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

  • LoginName
    String tested.

Prototype (C/C++)

HRESULT IsLogin(SQLDMO_LPCSTR szLoginName,
LPBOOL pRetVal);

Returns

TRUE if the LoginName argument is a string of valid login record name characters in a valid sequence. FALSE, otherwise.

주의

The IsLogin method determines legality for names when adding logins to an instance of SQL Server.

Applies To:

SQLServer Object