ProxyAccount-Member

The ProxyAccount class represents a SQL Server Agent proxy account.

Der ProxyAccount-Typ macht die folgenden Member verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ProxyAccount() () () () Initializes a new instance of the ProxyAccount class.
Öffentliche Methode ProxyAccount(JobServer, String) Initializes a new instance of the ProxyAccount class on the specified SQL Server Agent Service, with the specified name.
Öffentliche Methode 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.
Öffentliche Methode 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.
Öffentliche Methode 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.

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode AddDatabaseContext (Geerbt von SqlSmoObject.)
Öffentliche Methode AddLogin Adds a Microsoft Windows login account to the proxy account.
Öffentliche Methode AddMsdbRole Adds a Microsoft SQL Server database role to the proxy account.
Öffentliche Methode AddServerRole Adds a Microsoft SQL Server server role to the proxy account.
Öffentliche Methode AddSubSystem Adds a Microsoft SQL Server subsystem to the proxy account.
Öffentliche Methode Alter Updates any ProxyAccount object property changes on an instance of Microsoft SQL Server.
Geschützte Methode AlterImpl (Geerbt von SqlSmoObject.)
Geschützte Methode AlterImplFinish (Geerbt von SqlSmoObject.)
Geschützte Methode AlterImplInit (Geerbt von SqlSmoObject.)
Geschützte Methode AlterImplWorker (Geerbt von SqlSmoObject.)
Geschützte Methode BindDefaultImpl (Geerbt von SqlSmoObject.)
Geschützte Methode BindRuleImpl (Geerbt von SqlSmoObject.)
Geschützte Methode CheckCollation (Geerbt von SqlSmoObject.)
Geschützte Methode CheckObjectState() () () () Validates the state of the referenced object. (Geerbt von SqlSmoObject.)
Geschützte Methode 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. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckObjectStateImpl (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion100 (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion80 Checks the validity of the object on SQL Server 2000. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion80SP3 Checks the validity of the object on SQL Server 2000 SP3. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion90 Check the validity of the object on SQL Server 2005. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersionBelow90 (Geerbt von SqlSmoObject.)
Geschützte Methode CleanObject (Geerbt von SqlSmoObject.)
Öffentliche Methode Create Creates a job on the instance of Microsoft SQL Server as defined by the ProxyAccount object.
Geschützte Methode CreateImpl (Geerbt von SqlSmoObject.)
Geschützte Methode CreateImplFinish (Geerbt von SqlSmoObject.)
Geschützte Methode CreateImplInit (Geerbt von SqlSmoObject.)
Öffentliche Methode Discover (Geerbt von SqlSmoObject.)
Öffentliche Methode Drop Removes an existing proxy account.
Geschützte Methode DropImpl (Geerbt von SqlSmoObject.)
Geschützte Methode DropImplWorker (Geerbt von SqlSmoObject.)
Öffentliche Methode EnumLogins Enumerates a list of Microsoft Windows login accounts associated with the referenced proxy account.
Öffentliche Methode EnumMsdbRoles Enumerates a list of Microsoft SQL Server database roles associated with the referenced proxy account.
Geschützte Methode EnumScriptImpl (Geerbt von SqlSmoObject.)
Geschützte Methode EnumScriptImplWorker (Geerbt von SqlSmoObject.)
Öffentliche Methode EnumServerRoles Enumerates a list of Microsoft SQL Server server roles associated with the referenced proxy account.
Öffentliche Methode EnumSubSystems Enumerates a list of Microsoft SQL Server subsystems associated with the referenced proxy account.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Geschützte Methode FormatSqlVariant (Geerbt von SqlSmoObject.)
Geschützte Methode GenerateDataSpaceFileStreamScript (Geerbt von SqlSmoObject.)
Geschützte Methode GenerateDataSpaceScript (Geerbt von SqlSmoObject.)
Geschützte Methode GetBindDefaultScript (Geerbt von SqlSmoObject.)
Geschützte Methode GetBindRuleScript (Geerbt von SqlSmoObject.)
Geschützte Methode GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Geerbt von SqlSmoObject.)
Geschützte Methode GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Geerbt von SqlSmoObject.)
Geschützte Methode GetDateTimeParameter (Geerbt von SqlSmoObject.)
Geschützte Methode GetDateTimeParameterAsInt (Geerbt von SqlSmoObject.)
Geschützte Methode GetDBName Gets the database name that is associated with the object. (Geerbt von AgentObjectBase.)
Geschützte Methode GetEnumParameter (Geerbt von SqlSmoObject.)
Geschützte Methode GetFragOptionString (Geerbt von SqlSmoObject.)
Geschützte Methode GetGuidParameter (Geerbt von SqlSmoObject.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Geschützte Methode GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Geerbt von SqlSmoObject.)
Geschützte Methode GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Geerbt von SqlSmoObject.)
Geschützte Methode GetPropValue (Geerbt von SqlSmoObject.)
Geschützte Methode GetPropValueOptional (Geerbt von SqlSmoObject.)
Geschützte Methode GetPropValueOptionalAllowNull (Geerbt von SqlSmoObject.)
Geschützte Methode GetRealValue (Geerbt von SqlSmoObject.)
Geschützte Methode GetScriptingOptionsForCreate (Geerbt von SqlSmoObject.)
Geschützte Methode GetServerName Gets the name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.)
Geschützte Methode GetServerObject (Geerbt von SqlSmoObject.)
Geschützte Methode GetSqlServerVersionName Gets the version name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.)
Geschützte Methode GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Geerbt von SqlSmoObject.)
Geschützte Methode GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Geerbt von SqlSmoObject.)
Geschützte Methode GetTimeSpanParameterAsInt (Geerbt von SqlSmoObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode GetUrnRecursive(StringBuilder) (Geerbt von SqlSmoObject.)
Geschützte Methode GetUrnRecursive(StringBuilder, UrnIdOption) (Geerbt von SqlSmoObject.)
Geschützte Methode ImplInitialize (Geerbt von SqlSmoObject.)
Öffentliche Methode Initialize() () () () Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.)
Öffentliche Methode Initialize(Boolean) Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.)
Geschützte Methode IsObjectDirty Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (Geerbt von SqlSmoObject.)
Geschützte Methode IsObjectInitialized Verifies whether the object has been initialized. (Geerbt von SqlSmoObject.)
Geschützte Methode IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server. (Geerbt von SqlSmoObject.)
Geschützte Methode IsVersion80SP3 (Geerbt von SqlSmoObject.)
Geschützte Methode MarkDropped (Geerbt von SqlSmoObject.)
Geschützte Methode MarkForDropImpl (Geerbt von SqlSmoObject.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode PostAlter (Geerbt von SqlSmoObject.)
Geschützte Methode PostCreate (Geerbt von SqlSmoObject.)
Geschützte Methode PostDrop (Geerbt von SqlSmoObject.)
Öffentliche Methode Refresh Refreshes the object and retrieves properties when the object is next accessed. (Geerbt von SqlSmoObject.)
Öffentliche Methode RemoveLogin Removes a Microsoft Windows login account from the referenced proxy account.
Öffentliche Methode RemoveMsdbRole Removes a Microsoft SQL Server database role from the referenced proxy account.
Öffentliche Methode RemoveServerRole Removes a Microsoft SQL Server server role from the referenced proxy account.
Öffentliche Methode RemoveSubSystem Removes a Microsoft SQL Server subsystem from the referenced proxy account.
Öffentliche Methode Rename Renames a proxy account.
Geschützte Methode RenameImpl This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Geschützte Methode RenameImplWorker This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Öffentliche Methode Script() () () () Generates a Transact-SQL script that can be used to re-create the SQL Server Agent proxy account.
Öffentliche Methode 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.
Geschützte Methode ScriptAlter (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptChangeOwner This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Geschützte Methode ScriptCreate (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptDdl (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptDrop (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptImpl() () () () (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptImpl(ScriptingOptions) (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptImplWorker (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptRename This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Geschützte Methode SetParentImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode ToString Returns a String that represents the referenced object. (Geerbt von SqlSmoObject.)
Geschützte Methode TouchImpl (Geerbt von SqlSmoObject.)
Geschützte Methode UnbindDefaultImpl (Geerbt von SqlSmoObject.)
Geschützte Methode UnbindRuleImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode Validate (Geerbt von SmoObjectBase.)

Zum Anfang

Felder

  Name Beschreibung
Geschütztes Feld m_ExtendedProperties (Geerbt von SqlSmoObject.)

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft CredentialID Gets the ID value that uniquely identifies the proxy agent credential.
Öffentliche Eigenschaft CredentialIdentity Gets the credential identity.
Öffentliche Eigenschaft CredentialName Gets or sets the name of the credential.
Öffentliche Eigenschaft Description Gets or sets a textual description of the proxy account.
Geschützte Eigenschaft ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft ID Gets the ID value that uniquely identifies the proxy account.
Öffentliche Eigenschaft IsEnabled Gets or sets the Boolean property value that specifies whether the proxy account is enabled or not.
Geschützte Eigenschaft IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft Name Gets or sets the name of the object. (Geerbt von NamedSmoObject.)
Geschützte Eigenschaft 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. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft Parent Gets or sets the JobServer object that is the parent of the ProxyAccount object.
Öffentliche Eigenschaft Properties Gets a collection of Property objects that represent the object properties. (Geerbt von SqlSmoObject.)
Geschützte Eigenschaft ScalarResult Gets the scalar result for the referenced object. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft State Gets the state of the referenced object. (Geerbt von SmoObjectBase.)
Öffentliche Eigenschaft Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft UserData Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.)

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis PropertyChanged (Geerbt von SqlSmoObject.)
Öffentliches Ereignis PropertyMetadataChanged (Geerbt von SqlSmoObject.)

Zum Anfang

Explizite Schnittstellenimplementierungen 

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectDiscover (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectGetParent (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectGetProperty (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcPropertyProviderGetPropertySet (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectGetUrn (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectResolve (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectSetProperty (Geerbt von SqlSmoObject.)

Zum Anfang