Compartir a través de


Clase DataSourcePermission

Defines the permissions for the members, of a specific Role element, over a specific DataSource. This class cannot be inherited.

Jerarquía de herencia

System. . :: . .Object
  System. . :: . .MarshalByRefObject
    System.ComponentModel. . :: . .Component
      Microsoft.AnalysisServices. . :: . .ModelComponent
        Microsoft.AnalysisServices. . :: . .NamedComponent
          Microsoft.AnalysisServices. . :: . .MajorObject
            Microsoft.AnalysisServices. . :: . .Permission
              Microsoft.AnalysisServices..::..DataSourcePermission

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
<GuidAttribute("5F1DA093-C8AE-4995-A1E9-2817385F4E7C")> _
Public NotInheritable Class DataSourcePermission _
    Inherits Permission _
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent,  _
    IDisposable, ICloneable
'Uso
Dim instance As DataSourcePermission
[GuidAttribute("5F1DA093-C8AE-4995-A1E9-2817385F4E7C")]
public sealed class DataSourcePermission : Permission, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[GuidAttribute(L"5F1DA093-C8AE-4995-A1E9-2817385F4E7C")]
public ref class DataSourcePermission sealed : public Permission, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("5F1DA093-C8AE-4995-A1E9-2817385F4E7C")>]
type DataSourcePermission =  
    class
        inherit Permission
        interface IMajorObject
        interface INamedComponent
        interface IModelComponent
        interface IComponent
        interface IDisposable
        interface ICloneable
    end
public final class DataSourcePermission extends Permission implements IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, ICloneable

El tipo DataSourcePermission expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público DataSourcePermission() () () () Initializes a new instance of the DataSourcePermission class using default values.
Método público DataSourcePermission(String, String, String) Initializes a new instance of the DataSourcePermission class using a role identifier, DataSource name and DataSource unique identifier.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Annotations Gets the collection object of all annotations to current object. (Se hereda de MajorObject.)
Propiedad protegida CanRaiseEvents (Se hereda de Component.)
Propiedad pública Container (Se hereda de Component.)
Propiedad pública CreatedTimestamp Gets or sets the date and time of the creation of the object. (Se hereda de MajorObject.)
Propiedad pública Description Gets or sets a description string of current object. (Se hereda de MajorObject.)
Propiedad protegida DesignMode (Se hereda de Component.)
Propiedad protegida Events (Se hereda de Component.)
Propiedad protegida FriendlyName (Se hereda de NamedComponent.)
Propiedad pública ID (Se hereda de NamedComponent.)
Propiedad pública IsLoaded Infraestructura. (Se hereda de MajorObject.)
Propiedad protegida KeyForCollection (Se hereda de NamedComponent.)
Propiedad pública LastSchemaUpdate Gets or sets the date and time when current object schema was last updated. (Se hereda de MajorObject.)
Propiedad pública Name (Se hereda de NamedComponent.)
Propiedad pública OwningCollection Gets or sets the collection that contains the ModelComponent. (Se hereda de ModelComponent.)
Propiedad pública Parent Gets the parent object of current DataSourcePermission.
Propiedad pública ParentDatabase Gets the parent Database of current object.
Propiedad pública ParentServer Gets the parent Server of current object.
Propiedad pública Process Gets or sets the Process attribute for the parent object. (Se hereda de Permission.)
Propiedad pública Read Gets or sets the Read attribute for the parent object. (Se hereda de Permission.)
Propiedad pública ReadDefinition Gets or sets the ReadDefinition attribute for the parent object. (Se hereda de Permission.)
Propiedad pública Role Gets a Role object for which permissions are being defined. (Se hereda de Permission.)
Propiedad pública RoleID Gets or ets the RoleID of a Role object for which permissions are being defined. (Se hereda de Permission.)
Propiedad pública Site (Se hereda de NamedComponent.)
Propiedad pública SiteID (Se hereda de NamedComponent.)
Propiedad pública Write Gets or sets the Write attribute for the parent object. (Se hereda de Permission.)

Arriba

Métodos

  Nombre Descripción
Método protegido AddToContainer Infraestructura. (Se hereda de ModelComponent.)
Método protegido AfterInsert Infraestructura. (Se hereda de ModelComponent.)
Método protegido AfterMove Infraestructura. (Se hereda de ModelComponent.)
Método protegido AfterRemove Infraestructura. (Se hereda de ModelComponent.)
Método protegido BeforeRemove Infraestructura. (Se hereda de ModelComponent.)
Método público Clone() () () () Returns a full copy of current DataSourcePermission object.
Método protegido Clone(Boolean) Infraestructura. (Se hereda de MajorObject.)
Método público CopyTo(DataSourcePermission) Copies the current DataSourcePermission to a specified object.
Método protegido CopyTo(ModelComponent) Infraestructura. (Se hereda de ModelComponent.)
Método protegido CopyTo(NamedComponent) (Se hereda de NamedComponent.)
Método protegido CopyTo(MajorObject, Boolean) Infraestructura. (Se hereda de Permission.)
Método público CreateObjRef (Se hereda de MarshalByRefObject.)
Método público Dispose() () () () (Se hereda de Component.)
Método protegido Dispose(Boolean) (Se hereda de Component.)
Método público Drop() () () () Removes current object and updates server. (Se hereda de MajorObject.)
Método público Drop(DropOptions) Removes current object and updates server using specified options. (Se hereda de MajorObject.)
Método público Drop(DropOptions, XmlaWarningCollection) Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings object. (Se hereda de MajorObject.)
Método público Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection) Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (Se hereda de MajorObject.)
Método público Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection, Boolean) Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (Se hereda de MajorObject.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Component.)
Método protegido GetCreateReferences Infraestructura. (Se hereda de MajorObject.)
Método público GetDependents Infraestructura. (Se hereda de MajorObject.)
Método protegido GetDropDependents Infraestructura. (Se hereda de MajorObject.)
Método público GetHashCode (Se hereda de Object.)
Método público GetLifetimeService (Se hereda de MarshalByRefObject.)
Método público GetReferences Infraestructura. Gets the objects that the DataSourcePermission references. (Invalida MajorObject. . :: . .GetReferences(Hashtable, Boolean).)
Método protegido GetService (Se hereda de Component.)
Método público GetType (Se hereda de Object.)
Método público GetUpdateOverwrites Infraestructura. (Se hereda de MajorObject.)
Método público InitializeLifetimeService (Se hereda de MarshalByRefObject.)
Método protegido MemberwiseClone() () () () (Se hereda de Object.)
Método protegido MemberwiseClone(Boolean) (Se hereda de MarshalByRefObject.)
Método público Refresh() () () () Updates current object from server definitions. (Se hereda de MajorObject.)
Método público Refresh(Boolean) Updates current object from server definitions and loaded dependent objects if specified. (Se hereda de MajorObject.)
Método público Refresh(Boolean, RefreshType) Updates current object from server definitions and loaded dependent objects if specified. (Se hereda de MajorObject.)
Método protegido RemoveFromContainer Infraestructura. (Se hereda de ModelComponent.)
Método protegido Reset (Se hereda de NamedComponent.)
Método público Submit() () () () Infraestructura. (Se hereda de ModelComponent.)
Método público Submit(Boolean) Infraestructura. (Se hereda de ModelComponent.)
Método público ToString (Se hereda de NamedComponent.)
Método público Update() () () () Updates server definition of current object to actual values using the default values to update dependent objects. (Se hereda de MajorObject.)
Método público Update(UpdateOptions) Updates server definition of current object to actual values using the specified options to update dependent objects. (Se hereda de MajorObject.)
Método público Update(UpdateOptions, UpdateMode) Updates server definition of current object to actual values using the specified options to update dependent objects. (Se hereda de MajorObject.)
Método público Update(UpdateOptions, UpdateMode, XmlaWarningCollection) Updates server definition of current object to actual values using the specified options to update dependent objects and reports any warnings from operation. (Se hereda de MajorObject.)
Método público Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection) Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. (Se hereda de MajorObject.)
Método público Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection, Boolean) Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. If analyzeImpactOnly is true, an impact analysis operation is performed with no update operation. (Se hereda de MajorObject.)
Método público Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (Se hereda de ModelComponent.)
Método público Validate(ValidationResultCollection) (Se hereda de MajorObject.)
Método público Validate(ValidationErrorCollection, Boolean) Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors. (Se hereda de ModelComponent.)
Método público Validate(ValidationResultCollection, ValidationOptions) (Se hereda de MajorObject.)
Método público Validate(ValidationErrorCollection, Boolean, ServerEdition) (Se hereda de Permission.)
Método público Validate(ValidationResultCollection, ValidationOptions, ServerEdition) (Se hereda de MajorObject.)

Arriba

Eventos

  Nombre Descripción
Evento público Disposed (Se hereda de Component.)

Arriba

Comentarios

Nuevo: 17 de julio de 2006

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.