Membres SqlAssembly
The SqlAssembly class represents an assembly in the Microsoft .NET environment.
Le type SqlAssembly expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
SqlAssembly() () () () | Initializes a new instance of the SqlAssembly class. | |
SqlAssembly(Database, String) | Initializes a new instance of the SqlAssembly class with the specified name and on the specified database. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
AddDatabaseContext | (Hérité de SqlSmoObject.) | |
Alter() () () () | Updates any SqlAssembly object property changes on the instance of Microsoft SQL Server. | |
Alter(AssemblyAlterOptions) | Updates any SqlAssembly object property changes on the instance of Microsoft SQL Server with additional options. | |
Alter(AssemblyAlterOptions, String) | Updates any SqlAssembly object property changes on the instance of Microsoft SQL Server with additional options. | |
Alter(AssemblyAlterOptions, array<String> [] () [] []) | Updates any SqlAssembly object property changes on the instance of Microsoft SQL Server with additional options. | |
AlterImpl | (Hérité de SqlSmoObject.) | |
AlterImplFinish | (Hérité de SqlSmoObject.) | |
AlterImplInit | (Hérité de SqlSmoObject.) | |
AlterImplWorker | (Hérité de SqlSmoObject.) | |
AppendCommaText | (Hérité de ScriptNameObjectBase.) | |
AppendWithCommaText | (Hérité de ScriptNameObjectBase.) | |
AppendWithOption | (Hérité de ScriptNameObjectBase.) | |
BindDefaultImpl | (Hérité de SqlSmoObject.) | |
BindRuleImpl | (Hérité de SqlSmoObject.) | |
CheckCollation | (Hérité de SqlSmoObject.) | |
CheckObjectDirty | (Hérité de ScriptNameObjectBase.) | |
CheckObjectState() () () () | Validates the state of the referenced object. (Hérité de SqlSmoObject.) | |
CheckObjectState(Boolean) | Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (Hérité de SqlSmoObject.) | |
CheckObjectStateImpl | (Hérité de SqlSmoObject.) | |
CheckTextCorectness | (Hérité de ScriptNameObjectBase.) | |
CheckTextModeSupport | (Hérité de ScriptNameObjectBase.) | |
CheckVersion100 | (Hérité de SqlSmoObject.) | |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Hérité de SqlSmoObject.) | |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Hérité de SqlSmoObject.) | |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Hérité de SqlSmoObject.) | |
CheckVersionBelow90 | (Hérité de SqlSmoObject.) | |
CleanObject | Cleans the referenced object. (Hérité de ScriptNameObjectBase.) | |
Create(String) | Creates an assembly on the instance of Microsoft SQL Server as defined by the SqlAssembly object. | |
Create(array<String> [] () [] []) | Creates an assembly on the instance of SQL Server. | |
CreateImpl | (Hérité de SqlSmoObject.) | |
CreateImplFinish | (Hérité de SqlSmoObject.) | |
CreateImplInit | (Hérité de SqlSmoObject.) | |
Deny(ObjectPermissionSet, String) | Denies the specified set of permissions for the specified grantee on the assembly. | |
Deny(ObjectPermissionSet, array<String> [] () [] []) | Denies the specified set of permissions for the specified grantees on the assembly. | |
Deny(ObjectPermissionSet, String, Boolean) | Denies the specified set of permissions for the specified grantee and other users that the grantee granted the specified set of permissions on the assembly. | |
Deny(ObjectPermissionSet, array<String> [] () [] [], Boolean) | Denies the specified set of permissions for the specified grantees and other users that the grantee granted the specified set of permissions on the assembly. | |
Discover | (Hérité de SqlSmoObject.) | |
Drop | Removes the assembly from the instance of Microsoft SQL Server. | |
DropImpl | (Hérité de SqlSmoObject.) | |
DropImplWorker | (Hérité de SqlSmoObject.) | |
EnumObjectPermissions() () () () | Enumerates a list of object permissions for the assembly. | |
EnumObjectPermissions(String) | Enumerates a list of object permissions for a specified grantee on the assembly. | |
EnumObjectPermissions(ObjectPermissionSet) | Enumerates a list of object permissions for a specified permission on the assembly. | |
EnumObjectPermissions(String, ObjectPermissionSet) | Enumerates a list of object permissions for a specified grantee and a specified permission on the assembly. | |
EnumScriptImpl | (Hérité de SqlSmoObject.) | |
EnumScriptImplWorker | (Hérité de SqlSmoObject.) | |
Equals | (Hérité de Object.) | |
Finalize | (Hérité de Object.) | |
ForceTextModeOnTextBody | Enforces text mode on the text body. (Hérité de ScriptNameObjectBase.) | |
FormatSqlVariant | (Hérité de SqlSmoObject.) | |
GenerateDataSpaceFileStreamScript | (Hérité de SqlSmoObject.) | |
GenerateDataSpaceScript | (Hérité de SqlSmoObject.) | |
GetBindDefaultScript | (Hérité de SqlSmoObject.) | |
GetBindRuleScript | (Hérité de SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Hérité de SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Hérité de SqlSmoObject.) | |
GetBraketNameForText | (Hérité de ScriptNameObjectBase.) | |
GetDateTimeParameter | (Hérité de SqlSmoObject.) | |
GetDateTimeParameterAsInt | (Hérité de SqlSmoObject.) | |
GetDBName | Gets the database name that is associated with the object. (Hérité de SqlSmoObject.) | |
GetEnumParameter | (Hérité de SqlSmoObject.) | |
GetFragOptionString | (Hérité de SqlSmoObject.) | |
GetGuidParameter | (Hérité de SqlSmoObject.) | |
GetHashCode | (Hérité de Object.) | |
GetIsTextDirty | Determines whether the text value is consistent with stored value. (Hérité de ScriptNameObjectBase.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Hérité de SqlSmoObject.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Hérité de SqlSmoObject.) | |
GetPropValue | (Hérité de SqlSmoObject.) | |
GetPropValueOptional | (Hérité de SqlSmoObject.) | |
GetPropValueOptionalAllowNull | (Hérité de SqlSmoObject.) | |
GetRealValue | (Hérité de SqlSmoObject.) | |
GetScriptIncludeExists | (Hérité de ScriptNameObjectBase.) | |
GetScriptingOptionsForCreate | (Hérité de SqlSmoObject.) | |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Hérité de SqlSmoObject.) | |
GetServerObject | (Hérité de SqlSmoObject.) | |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Hérité de SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Hérité de SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Hérité de SqlSmoObject.) | |
GetTextBody() () () () | Returns the text body. (Hérité de ScriptNameObjectBase.) | |
GetTextBody(Boolean) | Returns the text body. (Hérité de ScriptNameObjectBase.) | |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] []) | Gets the text for scripting. (Hérité de ScriptNameObjectBase.) | |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] [], Boolean) | (Hérité de ScriptNameObjectBase.) | |
GetTextHeader | Returns the text header. (Hérité de ScriptNameObjectBase.) | |
GetTextMode | Determines whether the script name is using text mode. (Hérité de ScriptNameObjectBase.) | |
GetTextProperty(String) | (Hérité de ScriptNameObjectBase.) | |
GetTextProperty(String, ScriptingOptions) | (Hérité de ScriptNameObjectBase.) | |
GetTimeSpanParameterAsInt | (Hérité de SqlSmoObject.) | |
GetType | (Hérité de Object.) | |
GetUrnRecursive(StringBuilder) | (Hérité de SqlSmoObject.) | |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Hérité de SqlSmoObject.) | |
Grant(ObjectPermissionSet, String) | Grants the specified set of permissions to the specified grantee on the assembly. | |
Grant(ObjectPermissionSet, array<String> [] () [] []) | Grants the specified set of permissions to the specified grantees on the assembly. | |
Grant(ObjectPermissionSet, String, Boolean) | Grants access to the specified permission to the grantee and the ability to grant access to other users on the assembly. | |
Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean) | Grants access to the specified permission to the grantees and the ability to grant access to other users on the assembly. | |
Grant(ObjectPermissionSet, String, Boolean, String) | Grants the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the assembly under an assumed role. | |
Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean, String) | Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the assembly under an assumed role. | |
ImplInitialize | (Hérité de SqlSmoObject.) | |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Hérité de SqlSmoObject.) | |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Hérité de SqlSmoObject.) | |
IsObjectDirty | Determines whether the referenced object is consistent with the stored object. (Hérité de ScriptNameObjectBase.) | |
IsObjectInitialized | Verifies whether the object has been initialized. (Hérité de SqlSmoObject.) | |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Hérité de SqlSmoObject.) | |
IsVersion80SP3 | (Hérité de SqlSmoObject.) | |
MarkDropped | (Hérité de SqlSmoObject.) | |
MarkForDropImpl | (Hérité de SqlSmoObject.) | |
MemberwiseClone | (Hérité de Object.) | |
PostAlter | (Hérité de SqlSmoObject.) | |
PostCreate | (Hérité de SqlSmoObject.) | |
PostDrop | (Hérité de SqlSmoObject.) | |
Refresh | Refreshes the script name. (Hérité de ScriptNameObjectBase.) | |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) | |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) | |
Revoke(ObjectPermissionSet, String) | Revokes a previously granted set of permissions from a grantee on the assembly. | |
Revoke(ObjectPermissionSet, array<String> [] () [] []) | Revokes a previously granted set of permissions from a list of grantees on the assembly. | |
Revoke(ObjectPermissionSet, String, Boolean, Boolean) | Revokes previously granted permissions from a grantee on the assembly and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role. | |
Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean) | Revokes previously granted permissions from grantees on the assembly and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role. | |
Revoke(ObjectPermissionSet, String, Boolean, Boolean, String) | Revokes previously granted permissions from a grantee on the assembly and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role. | |
Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean, String) | Revokes previously granted permissions from grantees on the assembly and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role. | |
Script() () () () | Generates a Transact-SQL script that can be used to re-create the assembly. | |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the assembly as specified by the script options. | |
ScriptAlter | (Hérité de SqlSmoObject.) | |
ScriptAnsiQI | (Hérité de ScriptNameObjectBase.) | |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) | |
ScriptCreate | (Hérité de SqlSmoObject.) | |
ScriptDdl | (Hérité de SqlSmoObject.) | |
ScriptDrop | (Hérité de SqlSmoObject.) | |
ScriptImpl() () () () | (Hérité de SqlSmoObject.) | |
ScriptImpl(ScriptingOptions) | (Hérité de SqlSmoObject.) | |
ScriptImplWorker | (Hérité de SqlSmoObject.) | |
ScriptInformativeHeaders | (Hérité de ScriptNameObjectBase.) | |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) | |
SetCollectionTextMode | Sets the collection text mode. (Hérité de ScriptNameObjectBase.) | |
SetParentImpl | (Hérité de SqlSmoObject.) | |
SetTextBody | Specifies the text body. (Hérité de ScriptNameObjectBase.) | |
SetTextHeader | Specifies the text header. (Hérité de ScriptNameObjectBase.) | |
SetTextMode | Specifies the text mode. (Hérité de ScriptNameObjectBase.) | |
SwitchTextMode | Switches the text mode. (Hérité de ScriptNameObjectBase.) | |
ThrowIfTextIsDirtyForAlter | (Hérité de ScriptNameObjectBase.) | |
ToString | Returns a String that represents the referenced object. (Hérité de SqlSmoObject.) | |
TouchImpl | (Hérité de SqlSmoObject.) | |
UnbindDefaultImpl | (Hérité de SqlSmoObject.) | |
UnbindRuleImpl | (Hérité de SqlSmoObject.) | |
Validate | (Hérité de SmoObjectBase.) |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
AssemblySecurityLevel | Gets or sets the security level for the assembly. | |
CreateDate | Gets the date and time when the assembly was registered wit the database. | |
Culture | Gets the culture information about the referenced assembly. | |
Events | Gets the events associated with the referenced assembly. | |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Hérité de SqlSmoObject.) | |
ExtendedProperties | References a collection of ExtendedProperty objects. Each ExtendedProperty object represents an extended property of the SqlAssembly object. | |
ID | Gets the ID value that uniquely identifies the referenced assembly. | |
IsSystemObject | Gets a boolean specifying if the Assembly is a System Object. | |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Hérité de SqlSmoObject.) | |
IsVisible | Gets the Boolean property that specifies whether the assembly is visible after registration. | |
Name | Gets or sets the name of the object. (Hérité de NamedSmoObject.) | |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Hérité de SqlSmoObject.) | |
Owner | Gets or sets the user (principal) that is the owner of the referenced assembly. | |
Parent | Gets or sets the Database object that is the parent of the SqlAssembly object. | |
Properties | Gets a collection of Property objects that represent the object properties. (Hérité de SqlSmoObject.) | |
PublicKey | Gets the public key of the referenced assembly. | |
ScalarResult | Gets the scalar result for the referenced object. (Hérité de SqlSmoObject.) | |
SqlAssemblyFiles | Represents a collection of SqlAssemblyFile objects. Each SqlAssemblyFile object represents an assembly file associated with the referenced assembly. | |
State | Gets the state of the referenced object. (Hérité de SmoObjectBase.) | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Hérité de SqlSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Hérité de SmoObjectBase.) | |
Version | Gets the version value of the referenced assembly. |
Haut de la page
Événements
Nom | Description | |
---|---|---|
PropertyChanged | (Hérité de SqlSmoObject.) | |
PropertyMetadataChanged | (Hérité de SqlSmoObject.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
IAlienObjectDiscover | (Hérité de SqlSmoObject.) | |
IAlienObjectGetParent | (Hérité de SqlSmoObject.) | |
IAlienObjectGetProperty | (Hérité de SqlSmoObject.) | |
ISfcPropertyProviderGetPropertySet | (Hérité de SqlSmoObject.) | |
IAlienObjectGetUrn | (Hérité de SqlSmoObject.) | |
IAlienObjectResolve | (Hérité de SqlSmoObject.) | |
IAlienObjectSetProperty | (Hérité de SqlSmoObject.) |
Haut de la page