File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11<#
22 . SYNOPSIS
3- Returns whether the database principal exists and is a database role.
3+ Returns whether the server principal exists and is a server role.
44
55 . DESCRIPTION
6- Returns whether the database principal exist and is a database role.
6+ Returns whether the server principal exist and is a server role.
77
88 . PARAMETER ServerObject
99 Specifies current server connection object.
1010
1111 . PARAMETER Name
12- Specifies the name of the database principal.
12+ Specifies the name of the server principal.
1313
1414 . OUTPUTS
1515 [System.Boolean]
1818 $serverInstance = Connect-SqlDscDatabaseEngine
1919 Test-SqlDscIsRole -ServerObject $serverInstance -Name 'MyPrincipal'
2020
21- Returns $true if the principal exist as role, if not $false is returned.
21+ Returns $true if the principal exist as a server role, if not $false is returned.
2222#>
2323function Test-SqlDscIsRole
2424{
You can’t perform that action at this time.
0 commit comments