TaskUIUtils.IsMemberOfDatabaseRole(Server, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static bool IsMemberOfDatabaseRole(Microsoft::SqlServer::Management::Smo::Server ^ server, System::String ^ dbRole);
public static bool IsMemberOfDatabaseRole (Microsoft.SqlServer.Management.Smo.Server server, string dbRole);
static member IsMemberOfDatabaseRole : Microsoft.SqlServer.Management.Smo.Server * string -> bool
Public Shared Function IsMemberOfDatabaseRole (server As Server, dbRole As String) As Boolean
Parameters
- server
- Server
- dbRole
- String