Classe DataSourcePermission
Defines the permissions for the members, of a specific Role element, over a specific DataSource. This class cannot be inherited.
Hierarquia de herança
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.ComponentModel. . :: . .Component
Microsoft.AnalysisServices. . :: . .ModelComponent
Microsoft.AnalysisServices. . :: . .NamedComponent
Microsoft.AnalysisServices. . :: . .MajorObject
Microsoft.AnalysisServices. . :: . .Permission
Microsoft.AnalysisServices..::..DataSourcePermission
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
<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
O tipo DataSourcePermission expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
DataSourcePermission() () () () | Initializes a new instance of the DataSourcePermission class using default values. | |
DataSourcePermission(String, String, String) | Initializes a new instance of the DataSourcePermission class using a role identifier, DataSource name and DataSource unique identifier. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Annotations | Gets the collection object of all annotations to current object. (Herdado de MajorObject.) | |
CanRaiseEvents | (Herdado de Component.) | |
Container | (Herdado de Component.) | |
CreatedTimestamp | Gets or sets the date and time of the creation of the object. (Herdado de MajorObject.) | |
Description | Gets or sets a description string of current object. (Herdado de MajorObject.) | |
DesignMode | (Herdado de Component.) | |
Events | (Herdado de Component.) | |
FriendlyName | (Herdado de NamedComponent.) | |
ID | (Herdado de NamedComponent.) | |
IsLoaded | Infraestrutura. (Herdado de MajorObject.) | |
KeyForCollection | (Herdado de NamedComponent.) | |
LastSchemaUpdate | Gets or sets the date and time when current object schema was last updated. (Herdado de MajorObject.) | |
Name | (Herdado de NamedComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Herdado de ModelComponent.) | |
Parent | Gets the parent object of current DataSourcePermission. | |
ParentDatabase | Gets the parent Database of current object. | |
ParentServer | Gets the parent Server of current object. | |
Process | Gets or sets the Process attribute for the parent object. (Herdado de Permission.) | |
Read | Gets or sets the Read attribute for the parent object. (Herdado de Permission.) | |
ReadDefinition | Gets or sets the ReadDefinition attribute for the parent object. (Herdado de Permission.) | |
Role | Gets a Role object for which permissions are being defined. (Herdado de Permission.) | |
RoleID | Gets or ets the RoleID of a Role object for which permissions are being defined. (Herdado de Permission.) | |
Site | (Herdado de NamedComponent.) | |
SiteID | (Herdado de NamedComponent.) | |
Write | Gets or sets the Write attribute for the parent object. (Herdado de Permission.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
AddToContainer | Infraestrutura. (Herdado de ModelComponent.) | |
AfterInsert | Infraestrutura. (Herdado de ModelComponent.) | |
AfterMove | Infraestrutura. (Herdado de ModelComponent.) | |
AfterRemove | Infraestrutura. (Herdado de ModelComponent.) | |
BeforeRemove | Infraestrutura. (Herdado de ModelComponent.) | |
Clone() () () () | Returns a full copy of current DataSourcePermission object. | |
Clone(Boolean) | Infraestrutura. (Herdado de MajorObject.) | |
CopyTo(DataSourcePermission) | Copies the current DataSourcePermission to a specified object. | |
CopyTo(ModelComponent) | Infraestrutura. (Herdado de ModelComponent.) | |
CopyTo(NamedComponent) | (Herdado de NamedComponent.) | |
CopyTo(MajorObject, Boolean) | Infraestrutura. (Herdado de Permission.) | |
CreateObjRef | (Herdado de MarshalByRefObject.) | |
Dispose() () () () | (Herdado de Component.) | |
Dispose(Boolean) | (Herdado de Component.) | |
Drop() () () () | Removes current object and updates server. (Herdado de MajorObject.) | |
Drop(DropOptions) | Removes current object and updates server using specified options. (Herdado de MajorObject.) | |
Drop(DropOptions, XmlaWarningCollection) | Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings object. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Component.) | |
GetCreateReferences | Infraestrutura. (Herdado de MajorObject.) | |
GetDependents | Infraestrutura. (Herdado de MajorObject.) | |
GetDropDependents | Infraestrutura. (Herdado de MajorObject.) | |
GetHashCode | (Herdado de Object.) | |
GetLifetimeService | (Herdado de MarshalByRefObject.) | |
GetReferences | Infraestrutura. Gets the objects that the DataSourcePermission references. (Substitui MajorObject. . :: . .GetReferences(Hashtable, Boolean).) | |
GetService | (Herdado de Component.) | |
GetType | (Herdado de Object.) | |
GetUpdateOverwrites | Infraestrutura. (Herdado de MajorObject.) | |
InitializeLifetimeService | (Herdado de MarshalByRefObject.) | |
MemberwiseClone() () () () | (Herdado de Object.) | |
MemberwiseClone(Boolean) | (Herdado de MarshalByRefObject.) | |
Refresh() () () () | Updates current object from server definitions. (Herdado de MajorObject.) | |
Refresh(Boolean) | Updates current object from server definitions and loaded dependent objects if specified. (Herdado de MajorObject.) | |
Refresh(Boolean, RefreshType) | Updates current object from server definitions and loaded dependent objects if specified. (Herdado de MajorObject.) | |
RemoveFromContainer | Infraestrutura. (Herdado de ModelComponent.) | |
Reset | (Herdado de NamedComponent.) | |
Submit() () () () | Infraestrutura. (Herdado de ModelComponent.) | |
Submit(Boolean) | Infraestrutura. (Herdado de ModelComponent.) | |
ToString | (Herdado de NamedComponent.) | |
Update() () () () | Updates server definition of current object to actual values using the default values to update dependent objects. (Herdado de MajorObject.) | |
Update(UpdateOptions) | Updates server definition of current object to actual values using the specified options to update dependent objects. (Herdado de MajorObject.) | |
Update(UpdateOptions, UpdateMode) | Updates server definition of current object to actual values using the specified options to update dependent objects. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Herdado de ModelComponent.) | |
Validate(ValidationResultCollection) | (Herdado de MajorObject.) | |
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. (Herdado de ModelComponent.) | |
Validate(ValidationResultCollection, ValidationOptions) | (Herdado de MajorObject.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | (Herdado de Permission.) | |
Validate(ValidationResultCollection, ValidationOptions, ServerEdition) | (Herdado de MajorObject.) |
Início
Implementações de interfaces explícitas
Início
Comentários
Novo: 17 de julho de 2006
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.