Utility.IsLoginUtilityReader 메서드

Validates whether the login used in the connection has the utility reader role.

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


Public Shared Function IsLoginUtilityReader ( _
    storeConnection As SqlStoreConnection _
) As Boolean
‘사용 방법
Dim storeConnection As SqlStoreConnection 
Dim returnValue As Boolean 

returnValue = Utility.IsLoginUtilityReader(storeConnection)
public static bool IsLoginUtilityReader(
    SqlStoreConnection storeConnection
static bool IsLoginUtilityReader(
    SqlStoreConnection^ storeConnection
static member IsLoginUtilityReader : 
        storeConnection:SqlStoreConnection -> bool
public static function IsLoginUtilityReader(
    storeConnection : SqlStoreConnection
) : boolean

매개 변수

반환 값

유형: System.Boolean
A Boolean value indicating whether the login has the reader role. If true, the login has the role. Otherwise, false.

참고 항목


Utility 클래스

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