Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Instances of this class are created by Build and Deployment contributors during design-time to initialize arguments that are passed to them at runtime. In SSDT, these arguments must be specified using a ContributorArguments property in a .sqlproj file or a referenced .targets file. For instance to add a "RunMyContributor" argument with a value of "true", the following would be added:
<PropertyGroup> <ContributorArguments Condition="'$(Configuration)' == 'Debug''"> $(ContributorArguments);RunMyContributor=True; </ContributorArguments> </PropertyGroup>
In this case the argument is only added for Debug configuration. Using the above configuration it is possible to collect information from the MSBuild environment and pass it to the contributor. It is also possible to specify these when creating a package by using BuildPackage(String, TSqlModel, PackageMetadata, PackageOptions) and specifying PackageOptions.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.Dac.Deployment.ContributorArgumentConfiguration
Espacio de nombres: Microsoft.SqlServer.Dac.Deployment
Ensamblado: Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)
Sintaxis
'Declaración
Public NotInheritable Class ContributorArgumentConfiguration
'Uso
Dim instance As ContributorArgumentConfiguration
public sealed class ContributorArgumentConfiguration
public ref class ContributorArgumentConfiguration sealed
[<SealedAttribute>]
type ContributorArgumentConfiguration = class end
public final class ContributorArgumentConfiguration
El tipo ContributorArgumentConfiguration expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
ContributorArgumentConfiguration() | Initializes a new instance of the ContributorArgumentConfiguration class. |
![]() |
ContributorArgumentConfiguration(String, String) | Initializes a new instance of the ContributorArgumentConfiguration class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
Name | Gets or sets the name of the argument. |
![]() |
Value | Gets or sets the value of the argument expressed as a string. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Equals | (Se hereda de Object.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
ToString | (Se hereda de Object.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
.gif)
.gif)