ProxyAccount Members
Include Protected Members
Include Inherited Members
The ProxyAccount class represents a SQL Server Agent proxy account.
The ProxyAccount type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ProxyAccount() | Initializes a new instance of the ProxyAccount class. |
![]() |
ProxyAccount(JobServer, String) | Initializes a new instance of the ProxyAccount class on the specified SQL Server Agent Service, with the specified name. |
![]() |
ProxyAccount(JobServer, String, String) | Initializes a new instance of the ProxyAccount class on the specified SQL Server Agent Service with the specified name and credential. |
![]() |
ProxyAccount(JobServer, String, String, Boolean) | Initializes a new instance of the ProxyAccount class on the specified SQL Server Agent Service with the specified name and credential. It also specifies whether the proxy account is enabled. |
![]() |
ProxyAccount(JobServer, String, String, Boolean, String) | Initializes a new instance of the ProxyAccount class on the specified SQL Server Agent Service with the specified name and credential. It also specifies whether the proxy account is enabled. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
AddDatabaseContext(StringCollection) | (Inherited from SqlSmoObject.) |
![]() |
AddLogin(String) | Adds a Microsoft Windows login account to the proxy account. |
![]() |
AddMsdbRole(String) | Adds a Microsoft SQL Server database role to the proxy account. |
![]() |
AddServerRole(String) | Adds a Microsoft SQL Server server role to the proxy account. |
![]() |
AddSubSystem(AgentSubSystem) | Adds a Microsoft SQL Server subsystem to the proxy account. |
![]() |
Alter() | Updates any ProxyAccount object property changes on an instance of Microsoft SQL Server. |
![]() |
AlterImpl() | (Inherited from SqlSmoObject.) |
![]() |
AlterImplFinish(StringCollection, ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
AlterImplInit(StringCollection%, ScriptingOptions%) | (Inherited from SqlSmoObject.) |
![]() |
AlterImplWorker() | (Inherited from SqlSmoObject.) |
![]() |
BindDefaultImpl(String, String, Boolean) | (Inherited from SqlSmoObject.) |
![]() |
BindRuleImpl(String, String, Boolean) | (Inherited from SqlSmoObject.) |
![]() |
CheckCollation(String, ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
CheckObjectState() | Validates the state of the referenced object. (Inherited from 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. (Inherited from SqlSmoObject.) |
![]() |
CheckObjectStateImpl(Boolean) | (Inherited from SqlSmoObject.) |
![]() |
CheckVersion100() | (Inherited from SqlSmoObject.) |
![]() |
CheckVersion80() | Checks the validity of the object on SQL Server 2000. (Inherited from SqlSmoObject.) |
![]() |
CheckVersion80SP3() | Checks the validity of the object on SQL Server 2000 SP3. (Inherited from SqlSmoObject.) |
![]() |
CheckVersion90() | Check the validity of the object on SQL Server 2005. (Inherited from SqlSmoObject.) |
![]() |
CheckVersionBelow90() | (Inherited from SqlSmoObject.) |
![]() |
CleanObject() | (Inherited from SqlSmoObject.) |
![]() |
Create() | Creates a job on the instance of Microsoft SQL Server as defined by the ProxyAccount object. |
![]() |
CreateImpl() | (Inherited from SqlSmoObject.) |
![]() |
CreateImplFinish(StringCollection, ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
CreateImplInit(StringCollection%, ScriptingOptions%) | (Inherited from SqlSmoObject.) |
![]() |
Discover() | (Inherited from SqlSmoObject.) |
![]() |
Drop() | Removes an existing proxy account. |
![]() |
DropImpl() | (Inherited from SqlSmoObject.) |
![]() |
DropImplWorker(Urn%) | (Inherited from SqlSmoObject.) |
![]() |
EnumLogins() | Enumerates a list of Microsoft Windows login accounts associated with the referenced proxy account. |
![]() |
EnumMsdbRoles() | Enumerates a list of Microsoft SQL Server database roles associated with the referenced proxy account. |
![]() |
EnumScriptImpl(ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
EnumScriptImplWorker(ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
EnumServerRoles() | Enumerates a list of Microsoft SQL Server server roles associated with the referenced proxy account. |
![]() |
EnumSubSystems() | Enumerates a list of Microsoft SQL Server subsystems associated with the referenced proxy account. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
FormatSqlVariant(Object) | (Inherited from SqlSmoObject.) |
![]() |
GenerateDataSpaceFileStreamScript(StringBuilder, ScriptingOptions, Boolean) | (Inherited from SqlSmoObject.) |
![]() |
GenerateDataSpaceScript(StringBuilder, ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
GetBindDefaultScript(ScriptingOptions, String, String, Boolean) | (Inherited from SqlSmoObject.) |
![]() |
GetBindRuleScript(ScriptingOptions, String, String, Boolean) | (Inherited from SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Inherited from SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Inherited from SqlSmoObject.) |
![]() |
GetDateTimeParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Inherited from SqlSmoObject.) |
![]() |
GetDateTimeParameterAsInt(StringBuilder, ScriptingOptions, String, String, Int32%) | (Inherited from SqlSmoObject.) |
![]() |
GetDBName() | Gets the database name that is associated with the object. (Inherited from AgentObjectBase.) |
![]() |
GetEnumParameter(StringBuilder, ScriptingOptions, String, String, Type, Int32%) | (Inherited from SqlSmoObject.) |
![]() |
GetFragOptionString(FragmentationOption) | (Inherited from SqlSmoObject.) |
![]() |
GetGuidParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Inherited from SqlSmoObject.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Inherited from SqlSmoObject.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Inherited from SqlSmoObject.) |
![]() |
GetPropValue(String) | (Inherited from SqlSmoObject.) |
![]() |
GetPropValueOptional(String) | (Inherited from SqlSmoObject.) |
![]() |
GetPropValueOptionalAllowNull(String) | (Inherited from SqlSmoObject.) |
![]() |
GetRealValue(Property, Object) | (Inherited from SqlSmoObject.) |
![]() |
GetScriptingOptionsForCreate() | (Inherited from SqlSmoObject.) |
![]() |
GetServerName() | Gets the name of the instance of SQL Server with which the object is associated. (Inherited from SqlSmoObject.) |
![]() |
GetServerObject() | (Inherited from SqlSmoObject.) |
![]() |
GetSqlServerVersionName() | Gets the version name of the instance of SQL Server with which the object is associated. (Inherited from SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Inherited from SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Inherited from SqlSmoObject.) |
![]() |
GetTimeSpanParameterAsInt(StringBuilder, ScriptingOptions, String, String, Int32%) | (Inherited from SqlSmoObject.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
GetUrnRecursive(StringBuilder) | (Inherited from SqlSmoObject.) |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Inherited from SqlSmoObject.) |
![]() |
ImplInitialize(array<String[], array<OrderBy[]) | (Inherited from SqlSmoObject.) |
![]() |
Initialize() | Initializes the object and forces the properties be loaded. (Inherited from SqlSmoObject.) |
![]() |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Inherited from SqlSmoObject.) |
![]() |
IsObjectDirty() | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (Inherited from SqlSmoObject.) |
![]() |
IsObjectInitialized() | Verifies whether the object has been initialized. (Inherited from SqlSmoObject.) |
![]() |
IsObjectInSpace() | Verifies whether the object is isolated or connected to the instance of SQL Server. (Inherited from SqlSmoObject.) |
![]() |
IsVersion80SP3() | (Inherited from SqlSmoObject.) |
![]() |
MarkDropped() | (Inherited from SqlSmoObject.) |
![]() |
MarkForDropImpl(Boolean) | (Inherited from SqlSmoObject.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
PostAlter() | (Inherited from SqlSmoObject.) |
![]() |
PostCreate() | (Inherited from SqlSmoObject.) |
![]() |
PostDrop() | (Inherited from SqlSmoObject.) |
![]() |
Refresh() | Refreshes the object and retrieves properties when the object is next accessed. (Inherited from SqlSmoObject.) |
![]() |
RemoveLogin(String) | Removes a Microsoft Windows login account from the referenced proxy account. |
![]() |
RemoveMsdbRole(String) | Removes a Microsoft SQL Server database role from the referenced proxy account. |
![]() |
RemoveServerRole(String) | Removes a Microsoft SQL Server server role from the referenced proxy account. |
![]() |
RemoveSubSystem(AgentSubSystem) | Removes a Microsoft SQL Server subsystem from the referenced proxy account. |
![]() |
Rename(String) | Renames a proxy account. |
![]() |
RenameImpl(String) | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Inherited from NamedSmoObject.) |
![]() |
RenameImplWorker(String) | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Inherited from NamedSmoObject.) |
![]() |
Script() | Generates a Transact-SQL script that can be used to re-create the SQL Server Agent proxy account. |
![]() |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the SQL Server Agent proxy account as specified by the scripting options. |
![]() |
ScriptAlter(StringCollection, ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
ScriptChangeOwner(StringCollection, ScriptingOptions) | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Inherited from NamedSmoObject.) |
![]() |
ScriptCreate(StringCollection, ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
ScriptDdl(StringCollection, ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
ScriptDrop(StringCollection, ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
ScriptImpl() | (Inherited from SqlSmoObject.) |
![]() |
ScriptImpl(ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
ScriptImplWorker(ScriptingOptions) | (Inherited from SqlSmoObject.) |
![]() |
ScriptRename(StringCollection, ScriptingOptions, String) | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Inherited from NamedSmoObject.) |
![]() |
SetParentImpl(SqlSmoObject) | (Inherited from SqlSmoObject.) |
![]() |
ToString() | Returns a String that represents the referenced object. (Inherited from SqlSmoObject.) |
![]() |
TouchImpl() | (Inherited from SqlSmoObject.) |
![]() |
UnbindDefaultImpl(Boolean) | (Inherited from SqlSmoObject.) |
![]() |
UnbindRuleImpl(Boolean) | (Inherited from SqlSmoObject.) |
![]() |
Validate(String, array<Object[]) | (Inherited from SmoObjectBase.) |
Top
Properties
Name | Description | |
---|---|---|
![]() |
CredentialID | Gets the ID value that uniquely identifies the proxy agent credential. |
![]() |
CredentialIdentity | Gets the credential identity. |
![]() |
CredentialName | Gets or sets the name of the credential. |
![]() |
Description | Gets or sets a textual description of the proxy account. |
![]() |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Inherited from SqlSmoObject.) |
![]() |
ID | Gets the ID value that uniquely identifies the proxy account. |
![]() |
IsEnabled | Gets or sets the Boolean property value that specifies whether the proxy account is enabled or not. |
![]() |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Inherited from SqlSmoObject.) |
![]() |
Name | Gets or sets the name of the object. (Inherited from 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. (Inherited from SqlSmoObject.) |
![]() |
Parent | Gets or sets the JobServer object that is the parent of the ProxyAccount object. |
![]() |
Properties | Gets a collection of Property objects that represent the object properties. (Inherited from SqlSmoObject.) |
![]() |
ScalarResult | Gets the scalar result for the referenced object. (Inherited from SqlSmoObject.) |
![]() |
State | Gets the state of the referenced object. (Inherited from SmoObjectBase.) |
![]() |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Inherited from SqlSmoObject.) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
PropertyChanged | (Inherited from SqlSmoObject.) |
![]() |
PropertyMetadataChanged | (Inherited from SqlSmoObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IAlienObjectDiscover() | (Inherited from SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetParent() | (Inherited from SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetProperty(String) | (Inherited from SqlSmoObject.) |
![]() ![]() |
ISfcPropertyProviderGetPropertySet() | (Inherited from SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetUrn() | (Inherited from SqlSmoObject.) |
![]() ![]() |
IAlienObjectResolve(String) | (Inherited from SqlSmoObject.) |
![]() ![]() |
IAlienObjectSetProperty(Object, Object) | (Inherited from SqlSmoObject.) |
Top