CatalogFolder.Grant Método
Grants permission to a specified user.
Espacio de nombres: Microsoft.SqlServer.Management.IntegrationServices
Ensamblado: Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)
Sintaxis
'Declaración
Public Sub Grant ( _
permission As PermissionType, _
granteeName As String _
)
'Uso
Dim instance As CatalogFolder
Dim permission As PermissionType
Dim granteeName As String
instance.Grant(permission, granteeName)
public void Grant(
PermissionType permission,
string granteeName
)
public:
void Grant(
PermissionType permission,
String^ granteeName
)
member Grant :
permission:PermissionType *
granteeName:string -> unit
public function Grant(
permission : PermissionType,
granteeName : String
)
Parámetros
- permission
Tipo: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission type.
- granteeName
Tipo: System.String
The name of the user.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.IntegrationServices