AgentProfile 클래스

Encapsulates all operations on replication agent profiles, such as creating, deleting, adding, and removing parameters, and assigning specific profiles to certain agents.

System.Object
  Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.AgentProfile

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public sealed class AgentProfile : ReplicationObject

AgentProfile 유형에서 다음 멤버를 표시합니다.

  이름설명
공용 메서드AgentProfile()Initializes a new instance of the AgentProfile class.
공용 메서드AgentProfile(Int32, ServerConnection)Initializes a new instance of the AgentProfile class with a specified agent profile ID value and server connection.
공용 메서드AgentProfile(String, ServerConnection)Initializes a new instance of the AgentProfile class with the specified profile name and server connection.
맨 위로 이동

  이름설명
공용 속성AgentTypeGets or sets the type of replication agent for which the profile is intended.
공용 속성CachePropertyChangesGets or sets whether to cache changes made to the replication properties or to apply them immediately. (ReplicationObject에서 상속됨)
공용 속성ConnectionContextGets or sets the connection to an instance of Microsoft SQL Server. (ReplicationObject에서 상속됨)
공용 속성DefaultSpecifies whether this profile is the default profile for the given replication agent type.
공용 속성DescriptionGets or sets a textual description of the replication agent profile.
공용 속성IsExistingObjectGets whether the object exists on the server or not. (ReplicationObject에서 상속됨)
공용 속성NameGets or sets the name of the replication agent profile.
공용 속성ProfileId
공용 속성SqlServerNameGets the name of the Microsoft SQL Server instance to which this object is connected. (ReplicationObject에서 상속됨)
공용 속성TypeSpecifies whether the replication agent profile is pre-defined by replication or created by a user.
공용 속성UserDataGets or sets an object property that allows users to attach their own data to the object. (ReplicationObject에서 상속됨)
맨 위로 이동

  이름설명
공용 메서드AddParameterAdds a parameter to the replication agent profile.
공용 메서드AssignToAgentAssigns the replication agent profile to a specific replication agent job.
공용 메서드ChangeParameterChanges the value of an existing replication agent parameter in the profile.
공용 메서드CommitPropertyChangesSends all the cached property change statements to the instance of Microsoft SQL Server. (ReplicationObject에서 상속됨)
공용 메서드CreateCreates the replication agent profile on the instance of SQL Server by using the current properties. 
공용 메서드DecoupleDecouples the referenced replication object from the server. (ReplicationObject에서 상속됨)
공용 메서드EnumParameterInfoReturns information about parameters that can be set and that are available for the replication agent profile.
공용 메서드EnumParametersReturns all existing parameters that are set for the replication agent profile.
공용 메서드Equals (Object에서 상속됨)
공용 메서드GetHashCode (Object에서 상속됨)
공용 메서드GetType (Object에서 상속됨)
공용 메서드LoadLoads the properties of an existing object from the server. (ReplicationObject에서 상속됨)
공용 메서드LoadPropertiesLoads the properties of an existing object from the server. (ReplicationObject에서 상속됨)
공용 메서드MakeDefaultSets the profile as the default profile for all replication agents of the same type.
공용 메서드RefreshReloads the properties of the object. (ReplicationObject에서 상속됨)
공용 메서드RemoveRemoves an existing replication agent profile from the Distributor.
공용 메서드RemoveParameterRemoves an existing parameter from the replication agent profile.
공용 메서드ScriptGenerates a Transact-SQL script that can be used to re-create the agent profile.
공용 메서드ToString (Object에서 상속됨)
맨 위로 이동

Thread Safety

Public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

커뮤니티 추가 항목

추가
표시: